Commit 8a584087 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Make man page generation generic

The creation of vmod_example.3 man page from README.rst was previously
hard-coded. It is now possible to generate any man page against any rst
template. Man pages are now ignored, instead of leaving the repository
in a dirty state.
parent b7de64ff
......@@ -6,6 +6,7 @@ Makefile.in
*.lo
*.la
*~
*.[1-9]
/aclocal.m4
/autom4te.cache/
......
......@@ -8,11 +8,14 @@ dist_man_MANS = vmod_example.3
MAINTAINERCLEANFILES = $(dist_man_MANS)
vmod_example.3: README.rst
%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9:
if HAVE_RST2MAN
${RST2MAN} README.rst $@
${RST2MAN} $< $@
else
@echo "========================================"
@echo "You need rst2man installed to make dist"
@echo "========================================"
@false
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment