summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-30 23:23:12 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-30 23:23:12 +0000
commitcceb14bfcea39996cf01de1da8b0363904d24b03 (patch)
tree662299489bbdade71c93741e77b340bab855c168 /manual/Makefile
parente0fe4fb1f52f9cbc516b0ce2c0d611351f43e5be (diff)
downloadobnam-cceb14bfcea39996cf01de1da8b0363904d24b03.tar.gz
Add a Makefile for buildig manual
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)