2 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
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"; \
9 if test "${HAVE_ALIEN}" = "no"; then \
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"; \
17 deb-modules: deb-local rpm-modules
18 name=${PACKAGE}-modules; \
19 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
20 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
21 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
22 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
23 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
24 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
27 deb-utils: deb-local rpm-utils
29 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
30 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
31 pkg1=$${name}-$${version}.$${arch}.rpm; \
32 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
33 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
34 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
35 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
36 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
38 deb: deb-modules deb-utils