when building for debian, trace back to module (and not package that is incidentally...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 14 May 2014 12:14:35 +0000 (14:14 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 14 May 2014 12:14:35 +0000 (14:14 +0200)
Makefile

index 0533445..5bfef90 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -721,7 +721,7 @@ $(1)-debian: $(1)-tarball
        $(call dpkgapt_install_local_debs,$(1))
        $(call dpkgapt_install_stock_debs,$(1))
        mkdir -p DEBIAN/$(1)
-       rsync -a MODULES/$(1)/ DEBIAN/$(1)/
+       rsync -a MODULES/$($(1).module)/ DEBIAN/$(1)/
        make -C DEBIAN/$(1) "RPMTARBALL=$(HOME)/$($(1).tarballs)" "RPMVERSION=$($(1).rpm-version)" "RPMRELEASE=$($(1).rpm-release)" "RPMNAME=$($(1).rpm-name)" debian
        $(call dpkgapt_uninstall_stock_debs,$(1))
 endef