[master] bbc2f91 Install the vmod_std.7 man page

Martin Blix Grydeland martin at varnish-cache.org
Wed May 25 11:40:21 CEST 2011


commit bbc2f9194c45c94b4c7348a3fd3b4f1bc9574398
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Wed May 25 11:39:06 2011 +0200

    Install the vmod_std.7 man page

diff --git a/lib/libvmod_std/Makefile.am b/lib/libvmod_std/Makefile.am
index 7ddd0ac..706a132 100644
--- a/lib/libvmod_std/Makefile.am
+++ b/lib/libvmod_std/Makefile.am
@@ -2,6 +2,8 @@
 
 INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
 
+dist_man_MANS = vmod_std.7
+
 vmoddir = $(pkglibdir)/vmods
 vmod_LTLIBRARIES = libvmod_std.la
 
@@ -20,3 +22,13 @@ vcc_if.c vcc_if.h: $(top_srcdir)/lib/libvmod_std/vmod.py $(top_srcdir)/lib/libvm
 EXTRA_DIST = vmod.py vmod.vcc
 
 CLEANFILES = $(builddir)/vcc_if.c $(builddir)/vcc_if.h
+
+vmod_std.7: $(top_srcdir)/doc/sphinx/reference/vmod_std.rst
+if HAVE_RST2MAN
+	${RST2MAN} $? $@
+else
+	@echo "========================================"
+	@echo "You need rst2man installed to make dist"
+	@echo "========================================"
+	@false
+endif



More information about the varnish-commit mailing list