Commit 1cebffd4 authored by Nils Goroll's avatar Nils Goroll

dont try to build documentation for tools we cant build

parent 1b34638e
......@@ -197,6 +197,9 @@ include/varnishlog_synopsis.rst: $(top_builddir)/bin/varnishlog/varnishlog_opt2r
BUILT_SOURCES += include/varnishlog_options.rst \
include/varnishlog_synopsis.rst
# tools which only get built when curses is available
# XXX add varnishstat here when _opt2rst is ready
if VARNISH_CURSES
include/varnishtop_options.rst: $(top_builddir)/bin/varnishtop/varnishtop_opt2rst
$(top_builddir)/bin/varnishtop/varnishtop_opt2rst options > $@
include/varnishtop_synopsis.rst: $(top_builddir)/bin/varnishtop/varnishtop_opt2rst
......@@ -210,6 +213,8 @@ include/varnishhist_synopsis.rst: $(top_builddir)/bin/varnishhist/varnishhist_op
$(top_builddir)/bin/varnishhist/varnishhist_opt2rst synopsis > $@
BUILT_SOURCES += include/varnishhist_options.rst \
include/varnishhist_synopsis.rst
endif
include/vmod_std.rst: $(top_builddir)/lib/libvmod_std/vmod_std.rst
cp $? $@
......
......@@ -14,12 +14,10 @@ dist_man_MANS = \
vsl-query.7 \
varnishadm.1 \
varnishd.1 \
varnishhist.1 \
varnishlog.1 \
varnishncsa.1 \
varnishstat.1 \
varnishtest.1 \
varnishtop.1 \
vmod_directors.3 \
vmod_std.3
......@@ -71,6 +69,12 @@ varnishstat.1: $(top_srcdir)/doc/sphinx/reference/varnishstat.rst
varnishtest.1: $(top_srcdir)/doc/sphinx/reference/varnishtest.rst
${RST2MAN} $(top_srcdir)/doc/sphinx/reference/varnishtest.rst $@
# tools which only get built when curses is available
# XXX add varnishstat here when _opt2rst is ready
if VARNISH_CURSES
dist_man_MANS += varnishtop.1 \
varnishhist.1
varnishtop.1: \
$(top_srcdir)/doc/sphinx/reference/varnishtop.rst \
$(top_srcdir)/doc/sphinx/include/varnishtop_options.rst \
......@@ -82,6 +86,8 @@ varnishhist.1: \
$(top_srcdir)/doc/sphinx/include/varnishhist_options.rst \
$(top_srcdir)/doc/sphinx/include/varnishhist_synopsis.rst
${RST2MAN} $(top_srcdir)/doc/sphinx/reference/varnishhist.rst $@
endif
vmod_std.3: $(top_srcdir)/lib/libvmod_std/vmod_std.man.rst
${RST2MAN} $? $@
......
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