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)
|