chiark / gitweb /
More support scripts and other cool stuff.
[tripe] / debian / rules
index 6a52d03..7b94252 100755 (executable)
@@ -30,6 +30,24 @@ install: build
        cp deb-build/tripe-init debian/tripe/etc/init.d/tripe
        chmod 755 debian/tripe/etc/init.d/tripe
        cp tripe.conf debian/tripe/etc/default/tripe
+       mkdir -p debian/tripe-keys/usr/bin
+       mv debian/tripe/usr/bin/tripe-keys debian/tripe-keys/usr/bin
+       mkdir -p \
+         debian/tripe-keys/usr/share/man/man5 \
+         debian/tripe-keys/usr/share/man/man8
+       mv debian/tripe/usr/share/man/man5/tripe-keys.conf.5 \
+         debian/tripe-keys/usr/share/man/man5
+       mv debian/tripe/usr/share/man/man8/tripe-keys.8 \
+         debian/tripe-keys/usr/share/man/man8
+       mkdir -p debian/tripe-keys/usr/share/doc/tripe-keys/examples
+       cp tripe-keys.master \
+         debian/tripe-keys/usr/share/doc/tripe-keys/examples
+       mkdir -p debian/tripemon/usr/bin
+       mv debian/tripe/usr/bin/tripemon debian/tripemon/usr/bin
+       mkdir -p \
+         debian/tripemon/usr/share/man/man1
+       mv debian/tripe/usr/share/man/man1/tripemon.1 \
+         debian/tripemon/usr/share/man/man1
        mkdir -p debian/pkstream/usr/bin
        mv debian/tripe/usr/bin/pkstream debian/pkstream/usr/bin
        mkdir -p debian/pkstream/usr/share/man/man1
@@ -40,7 +58,17 @@ install: build
        rm -f debian/tripe-ethereal/usr/lib/ethereal/plugins/*/*.a
        rmdir debian/tripe/usr/lib
 
-binary-indep:
+binary-indep: install
+       dh_testdir -i
+       dh_testroot -i
+       dh_compress -i
+       dh_installdocs -i
+       dh_installlogrotate -i
+       dh_gencontrol -i
+       dh_fixperms -i
+       dh_installdeb -i
+       dh_md5sums -i
+       dh_builddeb -i
 
 binary-arch: install
        dpkg --status ethereal | \