summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/manual/Makefile b/manual/Makefile
new file mode 100644
index 00000000..93788763
--- /dev/null
+++ b/manual/Makefile
@@ -0,0 +1,9 @@
+sources = $(wildcard *.mdwn)
+
+all: manual.pdf manual.html
+
+manual.pdf: $(sources)
+ pandoc --toc --chapters -o manual.pdf $(sources)
+
+manual.html: $(sources)
+ pandoc --toc --chapters --standalone -o manual.html $(sources)