Commit 9b7aa043 authored by Nils Goroll's avatar Nils Goroll

Also run generate.py if vmod_abi.h or vcs_version.h are missing

Fixes #2597

Merges #2600 slightly modified
parent 5345cb03
......@@ -124,7 +124,9 @@ GENERATED_H = vcl.h $(GEN_H)
## except when building from a distribution
vcs_version.h:
$(AM_V_GEN) if test -d $(top_srcdir)/.git ; then \
@if test -e $(top_srcdir)/.git || \
! test -f vmod_abi.h || \
! test -f vcs_version.h ; then \
@PYTHON@ $(srcdir)/generate.py \
$(top_srcdir) $(top_builddir) ; \
fi
......
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