mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
45daa8d8c3
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
27 lines
482 B
Makefile
27 lines
482 B
Makefile
PANDOC = pandoc
|
|
|
|
default: all
|
|
|
|
all_markdown = \
|
|
config-split.md \
|
|
psa-conditional-inclusion-c.md \
|
|
psa-driver-developer-guide.md \
|
|
psa-driver-integration-guide.md \
|
|
psa-driver-interface.md \
|
|
# 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 $@ $<
|
|
|
|
clean:
|
|
rm -f *.html *.pdf
|