X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=a8e68855bad4a0ff5edfc503e432db0182ac517c;hp=344bf6ed1f7aaad1fd333cde4ddd9560c5d346fd;hb=a6037e23a8c9d649bf5946ac9d23114f9097b997;hpb=7a95c7d38ec451cf3736d485899d980216364c0f diff --git a/debian/rules b/debian/rules index 344bf6e..a8e6885 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,13 @@ DEBTMP := $(shell pwd)/debian/tmp build: build-stamp build-stamp: + # Debian source diffs don't reflect removals. + # This kludge will suffice until the next upstream version. *sigh* + rm -f debian/nfs-common.config \ + debian/nfs-common.templates \ + debian/nfs-kernel-server.config \ + debian/nfs-kernel-server.templates + dh_testdir # Add here commands to compile the package. $(SETGCC) ./configure \ @@ -39,8 +46,9 @@ binary-arch: build dh_testroot dh_clean -k dh_installdirs + dh_install # Add here commands to install the files into debian/tmp - $(MAKE) install_prefix='$(DEBTMP)' install + $(MAKE) DESTDIR='$(DEBTMP)' install dh_movefiles # Fixups Start Here # cd debian && \ @@ -51,7 +59,8 @@ binary-arch: build done; \ rm -f tmp/usr/sbin/*quota*; \ rm -f tmp/usr/share/man/man8/*quota*; \ - rm -rf tmp/var/lib/nfs/* + rm -rf tmp/var/lib/nfs/*; \ + cp --preserve=timestamps etc.exports tmp/etc/exports # Fixups End Here # dh_installdocs -A README dh_installexamples