blob: 2f8565ff26ad21045ad9bf871b8a298a6077bd9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# A simple makefile to generate documentation from .md using pandoc
PANDOC ?= pandoc
LUADOC ?= ./lua_api.pl
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
lua-doc: lua_regexp
lua_regexp: ../src/lua/lua_regexp.c
$(LUADOC) < ../src/lua/lua_regexp.c > markdown/lua/regexp.md
|