X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=5a65ec5ccf949a0c8361a25f7caad1c770e3eed4;hb=b16970c2d1de9b9ef5b6ac34eb558845beb780fe;hp=877e659bf4b93a852838f4aaeae492d87b0ad28c;hpb=582e963f4aa62c9c6957c3868d487a82385cc5a1;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 877e659..5a65ec5 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 @@ -20,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 @@ -43,6 +44,7 @@ binary-arch: build dh_strip dh_compress dh_fixperms + chmod u+s debian/nfs-common/sbin/mount.nfs dh_installdeb dh_shlibdeps dh_gencontrol