X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fdeb.am;h=36204b41c7428ca27dbd5fee64ad4455c3f1b860;hb=ffb21118add1a2e6cec2ce401c333b4a4e76d9a3;hp=18b56547bc040979d123964be3bdb4e4b3c0c6e0;hpb=bd2f5ac97f4265523fb1397d845eabb8647c79e4;p=zfs.git diff --git a/config/deb.am b/config/deb.am index 18b5654..36204b4 100644 --- a/config/deb.am +++ b/config/deb.am @@ -15,6 +15,7 @@ deb-local: fi) deb-modules: deb-local rpm-modules +if CONFIG_KERNEL name=${PACKAGE}-modules; \ version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \ release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \ @@ -23,8 +24,10 @@ deb-modules: deb-local rpm-modules pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \ fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \ $(RM) $$pkg1 $$pkg2 +endif deb-utils: deb-local rpm-utils +if CONFIG_USER name=${PACKAGE}; \ version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \ arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ @@ -34,5 +37,6 @@ deb-utils: deb-local rpm-utils pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \ fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \ $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4 +endif deb: deb-modules deb-utils