packaging
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 14 Mar 2013 15:54:32 +0000 (16:54 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 14 Mar 2013 15:54:32 +0000 (16:54 +0100)
Makefile
myslice.spec
setup.py

index 9d42905..c33b594 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ bindir := /usr/bin
 
 PWD := $(shell pwd)
 
-build:
+build: static templates
        python setup.py build
 
 install: 
index 5a9445a..aaa84c0 100644 (file)
@@ -42,5 +42,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %dir %{_datadir}/myslice
+%{_datadir}/myslice/*
 
 %changelog
index cb328f5..a45105b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -15,5 +15,6 @@ packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/_
 setup(packages = packages,
       scripts = [],
       data_files = [ 
-#        ( dir [ list of paths from toplevel] ) ,
+        ( 'all-static', glob ('all-static/*')),
+        ( 'all-templates', glob ('all-templates/*')),
         ])