aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..f9ae4ea
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,9 @@
+TXT=$(wildcard *.txt)
+HTML=$(patsubst %.txt,%.html,$(TXT))
+all: $(HTML)
+
+%.html: %.txt
+ asciidoc -a data-uri -a icons -a toc -a max-width=55em $<
+
+clean:
+ rm -rf $(wildcard *.html)