From 4945176ebe196321051884455e5267070300bd24 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 12 Feb 2019 14:25:40 +0100 Subject: [PATCH] Add framework for architecture documents in Markdown --- docs/architecture/.gitignore | 2 ++ docs/architecture/Makefile | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 docs/architecture/.gitignore create mode 100644 docs/architecture/Makefile diff --git a/docs/architecture/.gitignore b/docs/architecture/.gitignore new file mode 100644 index 0000000000..23f832b734 --- /dev/null +++ b/docs/architecture/.gitignore @@ -0,0 +1,2 @@ +*.html +*.pdf diff --git a/docs/architecture/Makefile b/docs/architecture/Makefile new file mode 100644 index 0000000000..4873daeb8b --- /dev/null +++ b/docs/architecture/Makefile @@ -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 $@ $<