X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=dcc45131755716075d6078f2a21ec06badc8822e;hb=6826dcf4e9e00f466ecaeeb8369dc7308df36a86;hp=197c3fccc0cdb6f3500f060a46c35cc24e182bc1;hpb=8fd8ea2db370b7a0ac9b9544642972d1b13b78ad;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 197c3fc..dcc4513 100755 --- a/debian/rules +++ b/debian/rules @@ -5,12 +5,13 @@ include /usr/share/quilt/quilt.make # Temporary root DEBTMP := $(CURDIR)/debian/tmp -build: build-stamp patch +build: patch build-stamp 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 +20,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 @@ -41,7 +41,7 @@ binary-arch: build dh_installchangelogs ChangeLog dh_strip dh_compress - dh_fixperms + dh_fixperms -Xmount.nfs dh_installdeb dh_shlibdeps dh_gencontrol