X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Ftgz.am;h=1ed09ca40ea685f445cc084e8f02bd100d54981d;hb=f1a05fa11484d67161606fd1ecf50bf2abc25ced;hp=1c13858ff5cf33f6a1ec7558849e4e8d2a98b920;hpb=bd2f5ac97f4265523fb1397d845eabb8647c79e4;p=zfs.git diff --git a/config/tgz.am b/config/tgz.am index 1c13858..1ed09ca 100644 --- a/config/tgz.am +++ b/config/tgz.am @@ -8,6 +8,7 @@ tgz-local: fi) tgz-modules: tgz-local rpm-modules +if CONFIG_KERNEL name=${PACKAGE}-modules; \ version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \ release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \ @@ -16,8 +17,10 @@ tgz-modules: tgz-local rpm-modules pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \ fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \ $(RM) $$pkg1 $$pkg2 +endif tgz-utils: tgz-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`; \ @@ -26,5 +29,6 @@ tgz-utils: tgz-local rpm-utils pkg3=$${name}-test-$${version}.$${arch}.rpm; \ fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \ $(RM) $$pkg1 $$pkg2 $$pkg3 +endif tgz: tgz-modules tgz-utils