blob: e332166e3dd3a74b76b6cb01131a379ea4a90e01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
sources = $(wildcard *.md)
htmls = $(sources:.md=.html)
pdfs = $(sources:.md=.pdf)
.SUFFIXES: .md .html .pdf
.md.html:
pandoc --standalone --toc -o $@ $<
.md.pdf:
pandoc --standalone --toc -o $@ $<
all: $(htmls) $(pdfs)
|