From 1bdb78c360ecf8bb6e1936cf0cf38a7112761c0a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 15 Jan 2020 11:09:10 +0200 Subject: Change: also build PDFs --- Makefile | 8 ++++++-- 1 file 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) -- cgit v1.2.1