include /usr/share/quilt/quilt.make
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
# Temporary root
DEBTMP := $(CURDIR)/debian/tmp
CFLAGS="-g -O2 -Wall" ./configure \
--mandir='$${prefix}/share/man' \
--enable-secure-statd \
- --with-tcp-wrappers \
- --enable-mount
+ --with-tcp-wrappers
$(MAKE)
touch build-stamp
dh_testroot
rm -f build-stamp
rm -rf $(DEBTMP)
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean
binary-indep: build
dh_strip
dh_compress
dh_fixperms
+ chmod u+s debian/nfs-common/sbin/mount.nfs
dh_installdeb
dh_shlibdeps
dh_gencontrol