X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=debian%2Frules;h=1733dcd8a95a92017d8938f044b088b1ca234610;hp=13d0680e828b8d6b9d8378c5b1bf058cdfee7a7d;hb=276b4e32c6ee83e6e0a996de38f6030087e963ac;hpb=3a9429191822f537703f1807ec14eeeff01f4889 diff --git a/debian/rules b/debian/rules index 13d0680..1733dcd 100755 --- a/debian/rules +++ b/debian/rules @@ -60,11 +60,18 @@ binary-prep: cd $t/chiark-utils-bin/usr/share/man/man1 && \ mv readbuffer.1 writebuffer.1 $t/chiark-rwbuffer/usr/share/man/man1/ # + install -d $t/chiark-backup/usr/share/man/man1 + cp backup/man/*.1 $t/chiark-backup/usr/share/man/man1/ + cd $t/chiark-backup/usr/share/man/man1 && \ + for m in *.1; do \ + mv "$$m" backup-"$$m"; \ + done + # install -d $t/chiark-really/usr/sbin install -d $t/chiark-really/usr/share/man/man8 cd $t/chiark-utils-bin/usr/sbin && \ mv really $t/chiark-really/usr/sbin/ - strip --strip-unneeded $t/chiark-really/usr/sbin/really + strip --strip-unneeded --remove-section .note --remove-section .comment $t/chiark-really/usr/sbin/really cd $t/chiark-utils-bin/usr/share/man/man8 && \ mv really.8 $t/chiark-really/usr/share/man/man8/ rm $t/chiark-utils-bin/usr/sbin/trivsoundd \ @@ -87,7 +94,7 @@ binary-one: cp debian/$p/$$f $t/$p/DEBIAN/$$f; \ chmod u=rwX,go=rX $t/$p/DEBIAN/$$f; \ done - dpkg-gencontrol -p$p -P$t/$p -Tdebian/sv-$p + dpkg-gencontrol -isp -p$p -P$t/$p -Tdebian/sv-$p chown -R root.root debian/tmp chmod -R g-ws debian/tmp debian/rules binary-hook-$p