Commit a20e0ea5 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Only build vsc2rst if we have rst2man, fixes build failure

parent a12288b2
#
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 "========================================"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment