blowfish/debian: Get HTML and PDF versions of new manual installed.
authorMatt Birkholz <matt@birchwood-abbey.net>
Mon, 6 Nov 2017 21:22:50 +0000 (14:22 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Mon, 6 Nov 2017 21:22:50 +0000 (14:22 -0700)
src/blowfish/debian/doc-base [new file with mode: 0644]
src/blowfish/debian/rules

diff --git a/src/blowfish/debian/doc-base b/src/blowfish/debian/doc-base
new file mode 100644 (file)
index 0000000..48f8556
--- /dev/null
@@ -0,0 +1,13 @@
+Document: mit-scheme-pucked-blowfish
+Title: MIT/GNU Scheme Pucked Blowfish Manual
+Author: Matt Birkholz
+Abstract: The blowfish plugin for MIT/GNU Scheme Pucked wraps the
+ Blowfish block cipher C API as implemented by libssl.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/mit-scheme-pucked/html/blowfish.html
+Files: /usr/share/doc/mit-scheme-pucked/html/blowfish.html
+
+Format: PDF
+Files: /usr/share/doc/mit-scheme-pucked/pdf/blowfish.pdf.gz
index 2016d7beac454b8301951157bef8a3945657b8e3..7e695ad330b8d558a01ae01332ce7a786af43ffd 100755 (executable)
@@ -5,6 +5,9 @@ export MIT_SCHEME_EXE=mit-scheme-pucked
 %: debian/postinst debian/prerm
        dh $@
 
+override_dh_auto_install: debian/postinst debian/prerm
+       dh_auto_install -- install-html install-pdf
+
 debian/%: debian/%.in
        sed -e 's|@SCMDOCDIR@|/usr/share/doc/mit-scheme-pucked|g' \
            -e 's|@INFODIR@|/usr/share/info|g' \