X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=81fb344a7763837eda3c60e4b74d05041a9861c4;hb=f53a661c2795370f807ffffd2c91582e0a6c98dc;hp=1386ba1d852008e102e3188c2384b238f273017c;hpb=2dd083c5bdb5b38729b46dc65c886c77aa5a82b9;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 1386ba1..81fb344 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,5 @@ #! /usr/bin/make -f -include /usr/share/quilt/quilt.make - # Parsing of DEB_BUILD_OPTIONS flags. # Note that nostrip is handled automatically by debhelper. CFLAGS := -g -Wall @@ -18,17 +16,18 @@ endif # Temporary root DEBTMP := $(CURDIR)/debian/tmp -build: patch build-stamp +build: build-stamp build-stamp: dh_testdir CFLAGS="$(CFLAGS)" ./configure \ --mandir='$${prefix}/share/man' \ - --enable-secure-statd \ + --enable-nfsv41 \ + --disable-tirpc \ --with-tcp-wrappers $(MAKE) $(MAKEFLAGS) touch build-stamp -clean: unpatch +clean: dh_testdir dh_testroot rm -f build-stamp @@ -40,7 +39,7 @@ binary-indep: build binary-arch: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs mkdir $(DEBTMP) $(MAKE) DESTDIR='$(DEBTMP)' install @@ -52,6 +51,7 @@ binary-arch: build dh_installman dh_link dh_installchangelogs ChangeLog + dh_lintian dh_strip dh_compress dh_fixperms