X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=dcd8fb4d066843d5d41693119c9cbbb4ef0bdcdb;hb=a4e12fe4050f413561acecfcd6d02e400b208c08;hp=663e711c7bd42246de209fecd83df7ea64eee610;hpb=f3c9d86cf79c4736eaee91ceb2b1c1cb7857b87c;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 663e711..dcd8fb4 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ include /usr/share/quilt/quilt.make +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + # Temporary root DEBTMP := $(CURDIR)/debian/tmp @@ -10,7 +12,8 @@ build-stamp: dh_testdir CFLAGS="-g -O2 -Wall" ./configure \ --mandir='$${prefix}/share/man' \ - --enable-secure-statd + --enable-secure-statd \ + --with-tcp-wrappers $(MAKE) touch build-stamp @@ -19,8 +22,7 @@ clean: unpatch dh_testroot rm -f build-stamp rm -rf $(DEBTMP) - -$(MAKE) distclean - $(RM) utils/rquotad/rquota.h utils/rquotad/rquota_xdr.c + [ ! -f Makefile ] || $(MAKE) distclean dh_clean binary-indep: build @@ -39,9 +41,9 @@ binary-arch: build dh_installman dh_link dh_installchangelogs ChangeLog - dh_strip + #dh_strip dh_compress - dh_fixperms + dh_fixperms -Xmount.nfs dh_installdeb dh_shlibdeps dh_gencontrol