blob: 5bde640447e727e69de1724765ac6e7ad1ba1b8d [file] [log] [blame]
Gilles Peskine49451762019-02-12 14:25:40 +01001PANDOC = pandoc
2
3default: all
4
5all_markdown = \
Gilles Peskine0b020022019-02-12 14:25:57 +01006 mbed-crypto-storage-specification.md \
Gilles Peskine1ff67cc2019-09-09 18:25:13 +02007 testing/driver-interface-test-strategy.md \
Gilles Peskine49451762019-02-12 14:25:40 +01008 # This line is intentionally left blank
9
10html: $(all_markdown:.md=.html)
11pdf: $(all_markdown:.md=.pdf)
12all: html pdf
13
14.SUFFIXES:
15.SUFFIXES: .md .html .pdf
16
17.md.html:
18 $(PANDOC) -o $@ $<
19.md.pdf:
20 $(PANDOC) -o $@ $<