Create infrastructure for architecture documents in Markdown
This commit is contained in:
parent
67ffdafde6
commit
d46b0869f4
2 changed files with 20 additions and 0 deletions
2
docs/architecture/.gitignore
vendored
Normal file
2
docs/architecture/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*.html
|
||||||
|
*.pdf
|
18
docs/architecture/Makefile
Normal file
18
docs/architecture/Makefile
Normal 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 $@ $<
|
Loading…
Reference in a new issue