aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-27 18:04:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-27 18:04:56 +0000
commite47c31784d02da27c838f554993369bc692f8a05 (patch)
treedd266b8be5bcfee7e1d52dc334b37e1541baed4d /doc/Makefile
parent337e7440719ccc5524ac31b99ee5e9d026fb325a (diff)
downloadrspamd-e47c31784d02da27c838f554993369bc692f8a05.tar.gz
rspamd-e47c31784d02da27c838f554993369bc692f8a05.zip
Migrate from pod to markdown+pandoc.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 000000000..bcc5b3a9f
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,12 @@
+# A simple makefile to generate documentation from .md using pandoc
+
+PANDOC ?= pandoc
+
+all: man
+
+man: rspamd.8 rspamc.1
+
+rspamd.8: rspamd.8.md
+ $(PANDOC) -s -f markdown -t man -o rspamd.8 rspamd.8.md
+rspamc.1: rspamc.1.md
+ $(PANDOC) -s -f markdown -t man -o rspamc.1 rspamc.1.md