[3.0] a20e0ea Only build vsc2rst if we have rst2man, fixes build failure
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Oct 6 11:25:31 CEST 2011
commit a20e0ea52092ad627b6cfabdd38e40d84ce919f2
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