1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: debianization -- documentation
Address Debian Policy requirements for documentation.
This is a Debian centric patch.
Origin: debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2015-03-14
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,12 @@
+LINUXDOC = /usr/bin/linuxdoc
+
+all: surf-alggeo.html surf-alggeo.pdf
+
+surf-alggeo.sgml: manual.sgml
+ ln -sf $< $@
+
+%.html : %.sgml
+ $(LINUXDOC) --backend=html --split=0 --toc=2 $<
+
+%.pdf : %.sgml
+ $(LINUXDOC) --backend=latex --papersize=a4 --output=pdf $<
|