aboutsummaryrefslogtreecommitdiff
path: root/docs/architecture/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/architecture/Makefile')
-rw-r--r--docs/architecture/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/architecture/Makefile b/docs/architecture/Makefile
new file mode 100644
index 000000000..d8db2e067
--- /dev/null
+++ b/docs/architecture/Makefile
@@ -0,0 +1,26 @@
+PANDOC = pandoc
+
+default: all
+
+all_markdown = \
+ mbed-crypto-storage-specification.md \
+ testing/driver-interface-test-strategy.md \
+ testing/invasive-testing.md \
+ testing/test-framework.md \
+ # 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 $@ $<
+
+clean:
+ rm -f *.html *.pdf
+ rm -f testing/*.html testing/*.pdf