[experimental-ims] 5c2edfc Only build vsc2rst if we have rst2man, fixes build failure

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:52:03 CET 2012


commit 5c2edfc9537e60ea5d61a39601a02a963ab89384
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Oct 6 10:59:07 2011 +0200

    Only build vsc2rst if we have rst2man, fixes build failure

diff --git a/man/Makefile.am b/man/Makefile.am
index da95e8c..9317896 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,8 @@
 #
 
+if HAVE_RST2MAN
 noinst_PROGRAMS = vsc2rst
+endif
 vsc2rst_SOURCES = vsc2rst.c \
 	$(top_srcdir)/include/vsc_fields.h
 
@@ -30,10 +32,11 @@ else
 	@false
 endif
 
-varnish-counters.7: vsc2rst
 if HAVE_RST2MAN
+varnish-counters.7: vsc2rst
 	./vsc2rst | ${RST2MAN} - $@
 else
+varnish-counters.7: $(top_srcdir)/include/vsc_fields.h
 	@echo "========================================"
 	@echo "You need rst2man installed to make dist"
 	@echo "========================================"



More information about the varnish-commit mailing list