2 @(if test "${HAVE_ALIEN}" = "no"; then \
4 "*** Required util ${ALIEN} missing. Please install the\n" \
5 "*** package for your distribution which provides ${ALIEN},\n" \
6 "*** re-run configure, and try again.\n"; \
10 tgz-modules: tgz-local rpm-modules
12 name=${PACKAGE}-modules; \
13 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
14 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
15 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
16 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
17 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
18 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
22 tgz-utils: tgz-local rpm-utils
25 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
26 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
27 pkg1=$${name}-$${version}.$${arch}.rpm; \
28 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
29 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
30 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
31 $(RM) $$pkg1 $$pkg2 $$pkg3
34 tgz: tgz-modules tgz-utils