Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Only build vsc2rst if we have rst2man, fixes build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Tollef Fog Heen committed Oct 6, 2011
1 parent a12288b commit a20e0ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion man/Makefile.am
@@ -1,6 +1,8 @@
#

if HAVE_RST2MAN
noinst_PROGRAMS = vsc2rst
endif
vsc2rst_SOURCES = vsc2rst.c \
$(top_srcdir)/include/vsc_fields.h

Expand Down Expand Up @@ -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 "========================================"
Expand Down

0 comments on commit a20e0ea

Please sign in to comment.