pass the tarballs to make debian in the module
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 19:42:49 +0000 (20:42 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 16 Jan 2013 19:42:49 +0000 (20:42 +0100)
Makefile

index c4b63c0..2ce45a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -659,12 +659,12 @@ endef
 $(foreach package,$(ALL),$(eval $(call target_depends,$(package))))
 
 ####################
-# very rough for now (one module per package), targets only sfa
+# very rough for now (one module per package), targets only sfa for now
 define target_debian
-$(1).debian:
+$(1)-debian: $(1)-tarball
        mkdir -p DEBIAN/$(1)
        rsync -av MODULES/$(1)/ DEBIAN/$(1)/
-       make -C DEBIAN/$(1) debian
+       make -C DEBIAN/$(1) "TARBALL=$(HOME)/$($(1).tarballs)" debian
 endef
 
 $(foreach package,$(ALL),$(eval $(call target_debian,$(package))))