X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=dcd8fb4d066843d5d41693119c9cbbb4ef0bdcdb;hp=40a2daf4b996a6ae63228b8954427c64e3a7824f;hb=636f3185bd6b6bd214d64a8fd196f909268e2719;hpb=18dbe6d642c9d26312a494470d213dd9609d019d diff --git a/debian/rules b/debian/rules index 40a2daf..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 @@ -20,7 +22,7 @@ clean: unpatch dh_testroot rm -f build-stamp rm -rf $(DEBTMP) - -$(MAKE) distclean + [ ! -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