Create infrastructure for architecture documents in Markdown

This commit is contained in:
Gilles Peskine 2019-09-16 16:06:06 +02:00
parent 67ffdafde6
commit d46b0869f4
2 changed files with 20 additions and 0 deletions

2
docs/architecture/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.html
*.pdf

View file

@ -0,0 +1,18 @@
PANDOC = pandoc
default: all
all_markdown = \
# 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 $@ $<