this produces a non-empty packagea at last
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 17 Jan 2013 11:53:51 +0000 (12:53 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 17 Jan 2013 11:53:51 +0000 (12:53 +0100)
Makefile
Makefile.debian
debian/rules

index 4c148c9..97d5808 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 # 
 # overwritten by the specfile
 DESTDIR="/"
-
+PREFIX=/usr
 ##########
 all: python wsdl 
 
@@ -29,12 +29,12 @@ sfa/util/version.py: sfa/util/version.py.in
        sed -e "s,@VERSIONTAG@,$(VERSIONTAG),g" -e "s,@SCMURL@,$(SCMURL),g" sfa/util/version.py.in > $@
 
 xmlbuilder-install:
-       cd xmlbuilder-0.9 && python setup.py install --root=$(DESTDIR) && cd -
+       cd xmlbuilder-0.9 && python setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) && cd -
        rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/*egg-info
 
 # postinstall steps - various cleanups and tweaks for a nicer rpm
 python-install:
-       python setup.py install --root=$(DESTDIR)       
+       python setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
        chmod 444 $(DESTDIR)/etc/sfa/default_config.xml
        rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/*egg-info
        rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/sfa/storage/migrations
index 078c937..4ac9c58 100644 (file)
@@ -15,7 +15,7 @@ debian.source: force
        rsync -a $(TARBALL) $(DEBIAN_TARBALL)
 
 debian.package:
-       debuild -uc -us --source-option=--include-binaries --source-option=-isession
+       debuild -uc -us -
 
 debian.clean:
        $(MAKE) -f debian/rules clean
index f1efaac..b8796e6 100755 (executable)
@@ -3,6 +3,3 @@
 
 %:
        dh $@
-
-override_dh_auto_install:
-        $(MAKE) DESTDIR=$$(pwd)/debian/hithere install