You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
456 B
26 lines
456 B
PANDOC = pandoc
|
|
|
|
default: all
|
|
|
|
all_markdown = \
|
|
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
|