X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=0c5b9dea7ae9bcd077bf045614651b254bdba6c5;hp=9729fa368c5755390896f6770089dd4075d98cb1;hb=refs%2Ftags%2Fdebian%2F1%251.0.8-3;hpb=5c3ed18c263cd01878d0314763d670a05d5ac284 diff --git a/debian/rules b/debian/rules index 9729fa3..0c5b9de 100755 --- a/debian/rules +++ b/debian/rules @@ -32,27 +32,14 @@ binary-arch: build dh_clean -k dh_installdirs mkdir $(DEBTMP) - # Add here commands to install the files into debian/tmp $(MAKE) DESTDIR='$(DEBTMP)' install - dh_install --sourcedir=debian/tmp - # Fixups Start Here # - cd debian && \ - for f in lockd statd showmount; do \ - perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \ - tmp/usr/share/man/man8/$$f.8; \ - done; - # Fixups End Here # + dh_install - # Move all files that will be managed by ucf - install -m 0644 debian/idmapd.conf debian/nfs-common/usr/share/nfs-common/conffiles/ - install -m 0644 debian/nfs-common.default debian/nfs-common/usr/share/nfs-common/conffiles/ - install -m 0644 debian/nfs-kernel-server.default debian/nfs-kernel-server/usr/share/nfs-kernel-server/conffiles/ - install -m 0644 debian/etc.exports debian/nfs-kernel-server/usr/share/nfs-kernel-server/conffiles/ - - install -m 0644 debian/idmapd.conf.md5sum debian/nfs-common/usr/share/nfs-common/conffiles/ - install -m 0644 debian/nfs-common.default.md5sum debian/nfs-common/usr/share/nfs-common/conffiles/ - install -m 0644 debian/nfs-kernel-server.default.md5sum debian/nfs-kernel-server/usr/share/nfs-kernel-server/conffiles/ - install -m 0644 debian/etc.exports.md5sum debian/nfs-kernel-server/usr/share/nfs-kernel-server/conffiles/ + # Fix up the manpages + for f in lockd statd showmount; do \ + perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \ + debian/tmp/usr/share/man/man8/$$f.8; \ + done; dh_installdocs -A dh_installdocs -pnfs-common debian/README.Debian.nfsv4