diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) |