Skip to content
Browse files

Only build vsc2rst if we have rst2man, fixes build failure

  • Loading branch information...
1 parent a12288b commit a20e0ea52092ad627b6cfabdd38e40d84ce919f2 Tollef Fog Heen committed Oct 6, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 man/Makefile.am
View
5 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 "========================================"

0 comments on commit a20e0ea

Please sign in to comment.
Something went wrong with that request. Please try again.