[master] fbabb9a Unbreak build of dist tarball when no rst2man

Martin Blix Grydeland martin at varnish-cache.org
Thu Oct 17 19:54:36 CEST 2013


commit fbabb9aebff4f6e6d3b113c7288c5911356f56ef
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Thu Oct 17 12:13:12 2013 +0200

    Unbreak build of dist tarball when no rst2man

diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index 3152943..ed24bae 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -129,6 +129,7 @@ EXTRA_DIST = \
 	reference/vmod_std.rst \
 	reference/vsm.rst \
 	reference/vsl-query.rst \
+	reference/vsl.rst \
 	tutorial/index.rst \
 	tutorial/introduction.rst \
 	tutorial/starting_varnish.rst \
diff --git a/lib/libvarnishapi/Makefile.am b/lib/libvarnishapi/Makefile.am
index 6316612..fce096d 100644
--- a/lib/libvarnishapi/Makefile.am
+++ b/lib/libvarnishapi/Makefile.am
@@ -73,8 +73,10 @@ vsl2rst_SOURCES = \
 	$(top_srcdir)/include/tbl/vsl_tags.h \
 	$(top_srcdir)/include/tbl/vsl_tags_http.h
 
+if HAVE_RST2MAN
 vsl-tags.rst: vsl2rst
 	./vsl2rst > $@
+endif
 
 vxp_fixed_token.c vxp_tokens.h: \
 	$(srcdir)/generate.py



More information about the varnish-commit mailing list