Use multimarkdown to convert .md -> .html
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Tue, 1 Nov 2016 21:33:57 +0000 (22:33 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Tue, 1 Nov 2016 21:33:57 +0000 (22:33 +0100)
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..1227631
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+INPUT = $(wildcard *.md)
+OUTPUT = $(INPUT:.md=.html)
+
+all:   $(OUTPUT)
+clean: 
+distclean:     clean
+       -rm -f $(OUTPUT)
+
+%.html:        %.md
+       multimarkdown $< >$@