You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 838B

1234567891011121314151617181920212223242526
  1. # A simple makefile to generate documentation from .md using pandoc
  2. PANDOC ?= pandoc
  3. LUADOC ?= doxydown/doxydown.pl
  4. all: man
  5. man: rspamd.8 rspamc.1
  6. rspamd.8: rspamd.8.md
  7. $(PANDOC) -s -f markdown -t man -o rspamd.8 rspamd.8.md
  8. rspamc.1: rspamc.1.md
  9. $(PANDOC) -s -f markdown -t man -o rspamc.1 rspamc.1.md
  10. lua-doc: lua_regexp lua_ip lua_config lua_task lua_ucl
  11. lua_regexp: ../src/lua/lua_regexp.c
  12. $(LUADOC) < ../src/lua/lua_regexp.c > markdown/lua/regexp.md
  13. lua_ip: ../src/lua/lua_ip.c
  14. $(LUADOC) < ../src/lua/lua_ip.c > markdown/lua/ip.md
  15. lua_config: ../src/lua/lua_config.c
  16. $(LUADOC) < ../src/lua/lua_config.c > markdown/lua/config.md
  17. lua_task: ../src/lua/lua_task.c
  18. $(LUADOC) < ../src/lua/lua_task.c > markdown/lua/task.md
  19. lua_ucl: ../contrib/libucl/lua_ucl.c
  20. $(LUADOC) < ../contrib/libucl/lua_ucl.c > markdown/lua/ucl.md