summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d74e4a..e332166 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
sources = $(wildcard *.md)
htmls = $(sources:.md=.html)
+pdfs = $(sources:.md=.pdf)
-.SUFFIXES: .md .html
+.SUFFIXES: .md .html .pdf
.md.html:
pandoc --standalone --toc -o $@ $<
-all: $(htmls)
+.md.pdf:
+ pandoc --standalone --toc -o $@ $<
+
+all: $(htmls) $(pdfs)