aboutsummaryrefslogtreecommitdiff
path: root/lib/mbedtls-2.27.0/docs/proposed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mbedtls-2.27.0/docs/proposed/Makefile')
-rw-r--r--lib/mbedtls-2.27.0/docs/proposed/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/mbedtls-2.27.0/docs/proposed/Makefile b/lib/mbedtls-2.27.0/docs/proposed/Makefile
new file mode 100644
index 0000000..1c31464
--- /dev/null
+++ b/lib/mbedtls-2.27.0/docs/proposed/Makefile
@@ -0,0 +1,25 @@
+PANDOC = pandoc
+
+default: all
+
+all_markdown = \
+ psa-conditional-inclusion-c.md \
+ psa-driver-developer-guide.md \
+ psa-driver-integration-guide.md \
+ psa-driver-interface.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