X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=536853119f1124a8b3e6e6b196ff8947138017cd;hb=13e118068de064b9bd69c629b74ccb11745c20c9;hp=9f46a9c3ebeb4883f97b842a3e65a68694d79b37;hpb=8c8a9fb90c606cd8fc852a60727291cf9dea051c;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index 9f46a9c..5368531 100755 --- a/debian/rules +++ b/debian/rules @@ -44,28 +44,33 @@ binary-arch: build dh_movefiles # Fixups Start Here # cd debian && \ - for f in rpc.lockd rpc.statd showmount; do \ - mv tmp/usr/sbin/$$f nfs-common/sbin/$$f; \ + for f in lockd statd showmount; do \ + mv tmp/usr/sbin/*$$f nfs-common/sbin; \ + perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \ + nfs-common/usr/share/man/man8/$$f.8; \ done; \ rm -f tmp/usr/sbin/*quota*; \ rm -f tmp/usr/share/man/man8/*quota*; \ rm -rf tmp/var/lib/nfs/* # Fixups End Here # - dh_installdocs ChangeLog README + dh_installdocs -A README dh_installexamples # dh_installmenu dh_installinit -n # dh_installcron # dh_installmanpages # dh_undocumented - dh_installchangelogs + dh_installchangelogs ChangeLog dh_strip - dh_suidregister dh_compress dh_fixperms + dh_installdebconf dh_installdeb # dh_makeshlibs dh_shlibdeps + # Hackery Begins Here # + perl -pi -e 's/2\.2\.4-2/2.2.4-1/g' debian/*substvars + # Hackery Ends Here # dh_gencontrol dh_md5sums dh_builddeb