summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-30 23:30:37 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-30 23:30:37 +0000
commite96d510eaed8f326730d55b00a2ff3bbd7485665 (patch)
tree89c30b94de90f5a227aa8379f43258749991a0f7 /manual/Makefile
parentcceb14bfcea39996cf01de1da8b0363904d24b03 (diff)
downloadobnam-e96d510eaed8f326730d55b00a2ff3bbd7485665.tar.gz
Split up manual into a file per chapter
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 93788763..63b529c1 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -2,8 +2,11 @@ sources = $(wildcard *.mdwn)
all: manual.pdf manual.html
-manual.pdf: $(sources)
+manual.pdf: Makefile $(sources)
pandoc --toc --chapters -o manual.pdf $(sources)
-manual.html: $(sources)
+manual.html: Makefile $(sources)
pandoc --toc --chapters --standalone -o manual.html $(sources)
+
+clean:
+ rm -f manual.pdf manual.html