blob: 6252ab0f9106e197d0e78d5fd6c268243a0c4e41 [file] [log] [blame]
Gilles Peskine49451762019-02-12 14:25:40 +01001PANDOC = pandoc
2
3default: all
4
5all_markdown = \
Gilles Peskinef30ff752022-06-09 17:33:51 +02006 alternative-implementations.md \
7 mbed-crypto-storage-specification.md \
8 psa-crypto-implementation-structure.md \
9 psa-migration/psa-limitations.md \
10 psa-migration/strategy.md \
11 psa-migration/tasks-g2.md \
12 psa-migration/testing.md \
13 testing/driver-interface-test-strategy.md \
14 testing/invasive-testing.md \
15 testing/psa-storage-format-testing.md \
16 testing/test-framework.md \
17 tls13-support.md \
Gilles Peskine49451762019-02-12 14:25:40 +010018 # This line is intentionally left blank
19
20html: $(all_markdown:.md=.html)
21pdf: $(all_markdown:.md=.pdf)
22all: html pdf
23
24.SUFFIXES:
25.SUFFIXES: .md .html .pdf
26
27.md.html:
28 $(PANDOC) -o $@ $<
29.md.pdf:
30 $(PANDOC) -o $@ $<
Gilles Peskine4b3db732019-09-09 18:26:20 +020031
32clean:
33 rm -f *.html *.pdf
Gilles Peskineab4b9b42019-09-09 18:23:10 +020034 rm -f testing/*.html testing/*.pdf