2019-02-12 13:25:40 +00:00
|
|
|
PANDOC = pandoc
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all_markdown = \
|
2019-02-12 13:25:57 +00:00
|
|
|
mbed-crypto-storage-specification.md \
|
2019-09-09 16:25:13 +00:00
|
|
|
testing/driver-interface-test-strategy.md \
|
2019-09-09 16:23:10 +00:00
|
|
|
testing/invasive-testing.md \
|
2019-09-16 14:29:15 +00:00
|
|
|
testing/test-framework.md \
|
2019-02-12 13:25:40 +00:00
|
|
|
# This line is intentionally left blank
|
|
|
|
|
|
|
|
html: $(all_markdown:.md=.html)
|
|
|
|
pdf: $(all_markdown:.md=.pdf)
|
|
|
|
all: html pdf
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .md .html .pdf
|
|
|
|
|
|
|
|
.md.html:
|
|
|
|
$(PANDOC) -o $@ $<
|
|
|
|
.md.pdf:
|
|
|
|
$(PANDOC) -o $@ $<
|
2019-09-09 16:26:20 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.html *.pdf
|
2019-09-09 16:23:10 +00:00
|
|
|
rm -f testing/*.html testing/*.pdf
|