From: Thierry Parmentelat Date: Wed, 14 May 2014 12:14:35 +0000 (+0200) Subject: when building for debian, trace back to module (and not package that is incidentally... X-Git-Tag: 5.3.6~39 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1a259f97c6ae98d1a000e89a466a53f9a7b53750;hp=5d56f1f99a24c4d38d15185f20bbd624a041f20d;p=build.git when building for debian, trace back to module (and not package that is incidentally often, but not always, the same) --- diff --git a/Makefile b/Makefile index 0533445d..5bfef907 100644 --- 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