aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-26 15:45:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-26 15:45:24 +0100
commitc6537f13a15cd9b9421f9b6ccd987a56a6966185 (patch)
treeec924e31bf4a16f08fe9206b0550701497f5aa4b /doc
parent36e30a5f44dc84e107ab68a541e623fb50d837fe (diff)
downloadrspamd-c6537f13a15cd9b9421f9b6ccd987a56a6966185.tar.gz
rspamd-c6537f13a15cd9b9421f9b6ccd987a56a6966185.zip
Add lua-doc target.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index bcc5b3a9f..2f8565ff2 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,6 +1,7 @@
# A simple makefile to generate documentation from .md using pandoc
PANDOC ?= pandoc
+LUADOC ?= ./lua_api.pl
all: man
@@ -10,3 +11,8 @@ 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
+
+lua-doc: lua_regexp
+
+lua_regexp: ../src/lua/lua_regexp.c
+ $(LUADOC) < ../src/lua/lua_regexp.c > markdown/lua/regexp.md