Permalink
Browse files

Merge pull request #2 from Dridi/man_page

Make man page generation generic
  • Loading branch information...
2 parents b7de64f + 8a58408 commit 295e4bae3118d5e5c0b1ea40d66a3aae6c234c06 @perbu perbu committed Aug 22, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +4 −1 Makefile.am
View
@@ -6,6 +6,7 @@ Makefile.in
*.lo
*.la
*~
+*.[1-9]
/aclocal.m4
/autom4te.cache/
View
@@ -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
+

0 comments on commit 295e4ba

Please sign in to comment.