X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=debian%2Frules;h=d1ec8159e94953606bd694d5de08dc8a3925b1e5;hp=be4c926337251bc3871b8999b00c838d28c4026c;hb=c46b09429cb3309bfb32fd57c294c9dc4d5cf6e9;hpb=07ee42862accb54836028312f9ddfddb5bd798e3 diff --git a/debian/rules b/debian/rules index be4c926..d1ec815 100755 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,7 @@ clean: $(MAKE) -C $$s -f Makefile.in distclean; \ done rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars* + rm -rf debian/sv-* debian/*.debhelper.log binary-prep: $(checkdir) @@ -101,6 +102,7 @@ binary-one: cp debian/$p/$$f $t/$p/DEBIAN/$$f; \ chmod u=rwX,go=rX $t/$p/DEBIAN/$$f; \ done + dh_link -p$p -Pdebian/tmp/$p dpkg-gencontrol -isp -p$p -P$t/$p -Tdebian/sv-$p chown -R root.root debian/tmp chmod -R g-ws debian/tmp @@ -121,7 +123,8 @@ binary-arch: checkroot build binary-prep $t/chiark-really/usr/sbin/* set -e; for f in $t/chiark-utils-bin/usr/bin/*; do \ case "$$f" in \ - */xacpi-simple) d=Suggests ;; \ + */xbatmon-simple|*/xduplic-copier) \ + d=Suggests ;; \ */watershed|*/summer) d=Recommends ;; \ *) d=Depends ;; \ esac; \