Commit 89d35ee4 authored by Nils Goroll's avatar Nils Goroll Committed by Geoff Simmons

For parallel builds, avoid multiple execution of vmodtool

Otherwise builds can fail due to partially written files from vmodtool
running on another target.
parent 971fd557
......@@ -24,7 +24,15 @@ libvmod_re2_la_LIBADD = @RE2_LIBS@
vmod_re2.lo: vcc_if.c vcc_if.h
vcc_if.c: vcc_if.h
vmod_re2.lo: $(nodist_libvmod_re2_la_SOURCES)
vcc_if.h vmod_re2.rst vmod_re2.man.rst: vcc_if.c
vcc_if.c: vmod_re2.vcc
$(AM_V_VMODTOOL) $(PYTHON) $(VMODTOOL) -o vcc_if $(srcdir)/vmod_re2.vcc
vmod_re2.3: vmod_re2.man.rst
$(AM_V_GEN) $(RST2MAN) vmod_re2.man.rst vmod_re2.3
vre2/vre2.cpp: vre2/vre2.h
......
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