chiark / gitweb /
debian/rules: Throw the contrib scripts into `examples'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 16 Mar 2012 09:47:50 +0000 (09:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 23 Apr 2012 17:38:36 +0000 (18:38 +0100)
debian/rules

index b902fb6..3738102 100755 (executable)
@@ -40,6 +40,11 @@ install/tripe::
        cp $(DEB_BUILDDIR)/init/tripe-init debian/tripe.init
        sed 's/^#\(user\|group\)/\1/' \
                $(DEB_SRCDIR)/init/tripe.conf >debian/tripe.default
+       mkdir -p debian/tripe/usr/share/doc/tripe/examples
+       for i in tripe-ipif ipif-peers tripe-upstart; do \
+         cp $(DEB_BUILDDIR)/contrib/$$i \
+               debian/tripe/usr/share/doc/tripe/examples; \
+       done
 
 cleanbuilddir::
        rm -f debian/tripe.init debian/tripe.default