diff options
Diffstat (limited to 'docs/architecture/Makefile')
| -rw-r--r-- | docs/architecture/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/architecture/Makefile b/docs/architecture/Makefile new file mode 100644 index 00000000000..5bee504c291 --- /dev/null +++ b/docs/architecture/Makefile @@ -0,0 +1,21 @@ +PANDOC = pandoc + +default: all + +all_markdown = $(wildcard *.md */*.md) + +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 + rm -f testing/*.html testing/*.pdf |
