Commit c7c70895 authored by Lasse Karstensen's avatar Lasse Karstensen

Add dependeny to build both rst files from vcc.

Fix spotty dependency where none or just one of the
.rst files output by vmodtool.py was known by the Makefile.
parent 7ac92307
......@@ -24,7 +24,7 @@ nodist_libvmod_debug_la_SOURCES = \
# BUILT_SOURCES is only a hack and dependency tracking does not help for the first build
vmod_debug.lo vmod_debug_obj.lo: vcc_if.h
vcc_if.c vcc_if.h: $(vmodtool) $(vmod_srcdir)/vmod.vcc
vcc_if.c vcc_if.h vmod_debug.rst vmod_debug.man.rst: $(vmodtool) $(vmod_srcdir)/vmod.vcc
@PYTHON@ $(vmodtool) $(vmod_srcdir)/vmod.vcc
EXTRA_DIST = vmod.vcc
......
......@@ -28,7 +28,7 @@ nodist_libvmod_directors_la_SOURCES = \
# BUILT_SOURCES is only a hack and dependency tracking does not help for the first build
vdir.lo fall_back.lo hash.lo random.lo round_robin.lo: vcc_if.h
vcc_if.c vcc_if.h vmod_directors.man.rst: $(vmodtool) $(vmod_srcdir)/vmod.vcc
vcc_if.c vcc_if.h vmod_directors.rst vmod_directors.man.rst: $(vmodtool) $(vmod_srcdir)/vmod.vcc
@PYTHON@ $(vmodtool) $(vmod_srcdir)/vmod.vcc
EXTRA_DIST = vmod.vcc
......
......@@ -26,7 +26,7 @@ nodist_libvmod_std_la_SOURCES = \
# BUILT_SOURCES is only a hack and dependency tracking does not help for the first build
vmod_std.lo vmod_std_fileread.lo vmod_std_conversions.lo: vcc_if.h
vcc_if.c vcc_if.h vmod_std.man.rst: $(vmodtool) $(vmod_srcdir)/vmod.vcc
vcc_if.c vcc_if.h vmod_std.rst vmod_std.man.rst: $(vmodtool) $(vmod_srcdir)/vmod.vcc
@PYTHON@ $(vmodtool) $(vmod_srcdir)/vmod.vcc
EXTRA_DIST = vmod.vcc
......
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