File: debianization-documentation.patch

package info (click to toggle)
surf-alggeo 1.0.6%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,980 kB
  • sloc: cpp: 22,587; yacc: 1,049; makefile: 522; lex: 327; ansic: 238; sh: 95
file content (23 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (6)
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 $<