1 PHONY += tgz tgz-kmod tgz-utils tgz-local
4 @(if test "${HAVE_ALIEN}" = "no"; then \
6 "*** Required util ${ALIEN} missing. Please install the\n" \
7 "*** package for your distribution which provides ${ALIEN},\n" \
8 "*** re-run configure, and try again.\n"; \
12 tgz-kmod: tgz-local rpm-kmod
14 version=${VERSION}-${RELEASE}; \
15 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
16 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
17 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \
20 tgz-utils: tgz-local rpm-utils
22 version=${VERSION}-${RELEASE}; \
23 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
24 pkg1=$${name}-$${version}.$${arch}.rpm; \
25 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
26 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
27 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
28 $(RM) $$pkg1 $$pkg2 $$pkg3
30 tgz: tgz-kmod tgz-utils