X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=74fec5fb01c77973eeef71b1941f27e94f58cf21;hp=fa1fc0acadf78c74c30b22a46c378240e5e4b6c3;hb=e36b61ba46d34841a6ad99857c7cc43fc8c1ee89;hpb=a5ca7b464d6acc8826473be76415043c7c8d85dd diff --git a/debian/rules b/debian/rules index fa1fc0a..74fec5f 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,6 +46,7 @@ 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 dh_movefiles @@ -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 @@ -64,6 +73,7 @@ binary-arch: build dh_strip dh_compress dh_fixperms + dh_installdebconf dh_installdeb # dh_makeshlibs dh_shlibdeps