diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-15 11:09:10 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-15 11:09:10 +0200 |
commit | 1bdb78c360ecf8bb6e1936cf0cf38a7112761c0a (patch) | |
tree | 4eb23245d149d84e2c29409df44d10edc607bf1c /Makefile | |
parent | 951fde1718936dcbaa1fed69fb6ac51b0f5fb586 (diff) | |
download | ideas-1bdb78c360ecf8bb6e1936cf0cf38a7112761c0a.tar.gz |
Change: also build PDFs
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) |