aboutsummaryrefslogtreecommitdiff
path: root/lib/mbedtls-2.27.0/docs/architecture/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mbedtls-2.27.0/docs/architecture/Makefile')
-rw-r--r--lib/mbedtls-2.27.0/docs/architecture/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/mbedtls-2.27.0/docs/architecture/Makefile b/lib/mbedtls-2.27.0/docs/architecture/Makefile
new file mode 100644
index 0000000..d8db2e0
--- /dev/null
+++ b/lib/mbedtls-2.27.0/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