summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-03 19:16:15 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-03 19:16:15 +0300
commit0ad675b38588add323d9f49327e8daf9e61a9772 (patch)
tree1a515bf6f63a7b9843134f1c203e9fab545cb5e7 /doc
parent1700641f524c0fb68e082701516b46de589f0e1b (diff)
downloadick-0ad675b38588add323d9f49327e8daf9e61a9772.tar.gz
Move Makefile to doc, make it build docs only
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..8759a4c
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,11 @@
+yarns = 000.yaml $(shell ls *.yarn)
+
+all: doc.pdf doc.html
+
+doc.pdf: $(yarns)
+ pandoc --smart --toc --chapters --number-sections \
+ -o $@ $(yarns)
+
+doc.html: $(yarns)
+ pandoc --smart --toc --chapters --number-sections --standalone \
+ -o $@ $(yarns)