aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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