2019-02-12 14:25:40 +01:00
|
|
|
PANDOC = pandoc
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all_markdown = \
|
2022-06-09 17:33:51 +02:00
|
|
|
alternative-implementations.md \
|
|
|
|
mbed-crypto-storage-specification.md \
|
|
|
|
psa-crypto-implementation-structure.md \
|
|
|
|
psa-migration/psa-limitations.md \
|
|
|
|
psa-migration/strategy.md \
|
|
|
|
psa-migration/tasks-g2.md \
|
|
|
|
psa-migration/testing.md \
|
|
|
|
testing/driver-interface-test-strategy.md \
|
|
|
|
testing/invasive-testing.md \
|
|
|
|
testing/psa-storage-format-testing.md \
|
|
|
|
testing/test-framework.md \
|
|
|
|
tls13-support.md \
|
2019-02-12 14:25:40 +01: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 18:26:20 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.html *.pdf
|
2019-09-09 18:23:10 +02:00
|
|
|
rm -f testing/*.html testing/*.pdf
|