[master] 714bde1 Build varnish-cli.7 from rst
Tollef Fog Heen
tfheen at varnish-cache.org
Tue Mar 29 09:23:13 CEST 2011
commit 714bde15e8f786f0fc1009229af76501d4ec6a8a
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Tue Mar 29 09:22:26 2011 +0200
Build varnish-cli.7 from rst
Generate varnish-cli.7 and clean up the generated man pages on
maintainer-clean
diff --git a/man/Makefile.am b/man/Makefile.am
index f0d23f0..2a1e36c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,7 @@
# $Id$
-dist_man_MANS = vcl.7
+dist_man_MANS = vcl.7 varnish-cli.7
+MAINTAINERCLEANFILES = $(dist_man_MANS)
vcl.7: $(top_srcdir)/doc/sphinx/reference/vcl.rst \
$(top_srcdir)/bin/varnishd/default.vcl
@@ -12,3 +13,13 @@ else
@echo "========================================"
@false
endif
+
+varnish-cli.7: $(top_srcdir)/doc/sphinx/reference/varnish-cli.rst
+if HAVE_RST2MAN
+ ${RST2MAN} $(top_srcdir)/doc/sphinx/reference/varnish-cli.rst $@
+else
+ @echo "========================================"
+ @echo "You need rst2man installed to make dist"
+ @echo "========================================"
+ @false
+endif
More information about the varnish-commit
mailing list