From c6537f13a15cd9b9421f9b6ccd987a56a6966185 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 26 Aug 2014 15:45:24 +0100 Subject: [PATCH] Add lua-doc target. --- doc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5