Commit 295e4bae authored by Per Buer's avatar Per Buer

Merge pull request #2 from Dridi/man_page

Make man page generation generic
parents b7de64ff 8a584087
...@@ -6,6 +6,7 @@ Makefile.in ...@@ -6,6 +6,7 @@ Makefile.in
*.lo *.lo
*.la *.la
*~ *~
*.[1-9]
/aclocal.m4 /aclocal.m4
/autom4te.cache/ /autom4te.cache/
......
...@@ -8,11 +8,14 @@ dist_man_MANS = vmod_example.3 ...@@ -8,11 +8,14 @@ dist_man_MANS = vmod_example.3
MAINTAINERCLEANFILES = $(dist_man_MANS) MAINTAINERCLEANFILES = $(dist_man_MANS)
vmod_example.3: README.rst vmod_example.3: README.rst
%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9:
if HAVE_RST2MAN if HAVE_RST2MAN
${RST2MAN} README.rst $@ ${RST2MAN} $< $@
else else
@echo "========================================" @echo "========================================"
@echo "You need rst2man installed to make dist" @echo "You need rst2man installed to make dist"
@echo "========================================" @echo "========================================"
@false @false
endif 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