summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-10-07 19:21:22 +0300
committerLars Wirzenius <liw@liw.fi>2016-12-18 14:02:18 +0100
commit0c1bdd3bd93450af7d6a46430ce137687e7e6b71 (patch)
treeda1324ba17cfcaa36af64a7556b4392c2e9f2c71
parent8bf97ef3cc8f57bd00116475a5c5b1e92633fe0a (diff)
downloadgitano-0c1bdd3bd93450af7d6a46430ce137687e7e6b71.tar.gz
Add a Makefile to format things
-rw-r--r--doc/admin/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/admin/Makefile b/doc/admin/Makefile
new file mode 100644
index 0000000..36fe506
--- /dev/null
+++ b/doc/admin/Makefile
@@ -0,0 +1,9 @@
+sources = $(wildcard *.mdwn)
+
+all: gitano-admin-doc.pdf gitano-admin-doc.html
+
+gitano-admin-doc.pdf: $(sources) Makefile
+ pandoc --toc -o gitano-admin-doc.pdf $(sources)
+
+gitano-admin-doc.html: $(sources) Makefile
+ pandoc --toc --standalone -o gitano-admin-doc.html $(sources)