X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=f9a196a45207fde3176537ea88a4d928f1feb8e2;hp=1386ba1d852008e102e3188c2384b238f273017c;hb=7f1928b63d65cece25a445f9813a25e84893e08c;hpb=ac06221bedbae2238e38fb8905e0234432ab7a14 diff --git a/debian/rules b/debian/rules index 1386ba1..f9a196a 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,17 @@ 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 \ + --disable-tirpc \ --with-tcp-wrappers $(MAKE) $(MAKEFLAGS) touch build-stamp -clean: unpatch +clean: dh_testdir dh_testroot rm -f build-stamp @@ -40,7 +38,7 @@ binary-indep: build binary-arch: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs mkdir $(DEBTMP) $(MAKE) DESTDIR='$(DEBTMP)' install