Commit d99c6dcf authored by Nils Goroll's avatar Nils Goroll

Fix parallel make (again) - the phony target trick doesn't work

This partly reverts c7087ebc

I am aware that creating dependencies on vcc_if.h doesn't look as nice
as having a vcc target, but parallel builds just don't work otherwise
parent 0f83a2bf
......@@ -19,10 +19,11 @@ dist_man_MANS = vmod_example.3
vmod_example.3: vmod_example.man.rst
${RST2MAN} $< $@
vmod_example.lo: vcc_if.c
vmod_example.lo vmod_example.man.rst: vcc
vmod_example.man.rst vcc_if.c: vcc_if.h
vcc: @VMODTOOL@ $(top_srcdir)/src/vmod_example.vcc
vcc_if.h: @VMODTOOL@ $(top_srcdir)/src/vmod_example.vcc
@PYTHON@ @VMODTOOL@ $(top_srcdir)/src/vmod_example.vcc
VTC_LOG_COMPILER = $(VARNISHTEST) -v \
......@@ -30,7 +31,7 @@ VTC_LOG_COMPILER = $(VARNISHTEST) -v \
TEST_EXTENSIONS = .vtc
TESTS = @VMOD_TESTS@
@VMOD_TESTS@: vcc
@VMOD_TESTS@: vmod_example.lo
EXTRA_DIST = \
vmod_example.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