Add -p switch to "zpool get"
[zfs.git] / config / deb.am
1 deb-local:
2         @(if test "${HAVE_DPKGBUILD}" = "no"; then \
3                 echo -e "\n" \
4         "*** Required util ${DPKGBUILD} missing.  Please install the\n" \
5         "*** package for your distribution which provides ${DPKGBUILD},\n" \
6         "*** re-run configure, and try again.\n"; \
7                 exit 1; \
8         fi; \
9         if test "${HAVE_ALIEN}" = "no"; then \
10                 echo -e "\n" \
11         "*** Required util ${ALIEN} missing.  Please install the\n" \
12         "*** package for your distribution which provides ${ALIEN},\n" \
13         "*** re-run configure, and try again.\n"; \
14                 exit 1; \
15         fi)
16
17 deb-kmod: deb-local rpm-kmod
18 if CONFIG_KERNEL
19         name=${PACKAGE}; \
20         version=${VERSION}-${RELEASE}; \
21         arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
22         pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
23         fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1; \
24         $(RM) $$pkg1
25 endif
26
27 deb-utils: deb-local rpm-utils
28 if CONFIG_USER
29         name=${PACKAGE}; \
30         version=${VERSION}-${RELEASE}; \
31         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
32         pkg1=$${name}-$${version}.$${arch}.rpm; \
33         pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
34         pkg3=$${name}-test-$${version}.$${arch}.rpm; \
35         pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
36         fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
37         $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
38 endif
39
40 deb: deb-kmod deb-utils