]> git.proxmox.com Git - mirror_zfs.git/blame - config/tgz.am
Don't assume pthread_t is uint_t for portability
[mirror_zfs.git] / config / tgz.am
CommitLineData
c9c0d073
BB
1tgz-local:
2 @(if test "${HAVE_ALIEN}" = "no"; then \
3 echo -e "\n" \
4 "*** Required util ${ALIEN} missing. Please install the\n" \
e921f650 5 "*** package for your distribution which provides ${ALIEN},\n" \
c9c0d073 6 "*** re-run configure, and try again.\n"; \
e921f650 7 exit 1; \
c9c0d073
BB
8 fi)
9
f3757573 10tgz-kmod: tgz-local rpm-kmod
b2c5198b 11if CONFIG_KERNEL
f3757573
BB
12 name=${PACKAGE}; \
13 version=${VERSION}-${RELEASE}; \
14 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
15 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
16 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \
17 $(RM) $$pkg1
b2c5198b 18endif
c9c0d073
BB
19
20tgz-utils: tgz-local rpm-utils
b2c5198b 21if CONFIG_USER
c9c0d073 22 name=${PACKAGE}; \
f3757573 23 version=${VERSION}-${RELEASE}; \
bd2f5ac9 24 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
c9c0d073
BB
25 pkg1=$${name}-$${version}.$${arch}.rpm; \
26 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
27 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
28 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
29 $(RM) $$pkg1 $$pkg2 $$pkg3
b2c5198b 30endif
c9c0d073 31
f3757573 32tgz: tgz-kmod tgz-utils