[master] 9b7aa04 Also run generate.py if vmod_abi.h or vcs_version.h are missing
Nils Goroll
nils.goroll at uplex.de
Tue Mar 6 13:40:10 UTC 2018
commit 9b7aa043bca96b30be2ba053e99d7c234ace5916
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Mar 6 13:12:23 2018 +0100
Also run generate.py if vmod_abi.h or vcs_version.h are missing
Fixes #2597
Merges #2600 slightly modified
diff --git a/include/Makefile.am b/include/Makefile.am
index 80f6569..0831e2e 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -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
More information about the varnish-commit
mailing list