File: fix-doc-build.patch

package info (click to toggle)
mwrap 1.1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 964 kB
  • sloc: cpp: 3,129; ansic: 848; lex: 231; makefile: 224; sh: 2
file content (29 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Fix documentation generation
 Create targets in Makefile to build mwrap.pdf and to clean it.
Author: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
Forwarded: not-needed
Reviewed-By: Rafael Laboissière <rafael@debian.org>
Last-Update: 2020-08-08
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
 include make.inc
 
+all: bin mwrap.pdf
+
 bin:
 	(cd src; make)
 
@@ -9,8 +11,12 @@
 demo:
 	(cd example; make)
 
+mwrap.pdf:
+	latexmk -pdf doc/mwrap.tex
+
 clean:
 	rm -f mwrap
+	latexmk -C doc/mwrap.tex
 	(cd src; make clean)
 	(cd example; make clean)
 	(cd testing; make clean)