2019-02-12 14:25:40 +01:00
|
|
|
PANDOC = pandoc
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all_markdown = \
|
2019-02-12 14:25:57 +01:00
|
|
|
mbed-crypto-storage-specification.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 $@ $<
|