zfs_debug: Restore log size limit for userspace
[zfs.git] / config / tgz.am
blob2499ba42305bf4637d4512ad5f5149bb08375768
1 PHONY += tgz tgz-kmod tgz-utils tgz-local
3 tgz-local:
4         @(if test "${HAVE_ALIEN}" = "no"; then \
5                 echo -e "\n" \
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"; \
9                 exit 1; \
10         fi)
12 tgz-kmod: tgz-local rpm-kmod
13         name=${PACKAGE}; \
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; \
18         $(RM) $$pkg1
20 tgz-utils: tgz-local rpm-utils
21         name=${PACKAGE}; \
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