From: Vsevolod Stakhov Date: Tue, 26 Aug 2014 14:45:24 +0000 (+0100) Subject: Add lua-doc target. X-Git-Tag: 0.7.0~74 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c6537f13a15cd9b9421f9b6ccd987a56a6966185;p=rspamd.git Add lua-doc target. --- 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