Add framework for architecture documents in Markdown

This commit is contained in:
Gilles Peskine 2019-02-12 14:25:40 +01:00
parent 8a23dc6642
commit 4945176ebe
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 $@ $<