2020-07-13 13:22:27 +02:00
|
|
|
PANDOC = pandoc
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
all_markdown = \
|
2020-07-13 11:28:20 +02:00
|
|
|
psa-driver-developer-guide.md \
|
|
|
|
psa-driver-integration-guide.md \
|
2020-07-13 11:27:13 +02:00
|
|
|
psa-driver-interface.md \
|
2020-07-13 13:22:27 +02: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 $@ $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.html *.pdf
|