[master] 062234c Do not clean up files generated by lib/libvcc/generate.py

Nils Goroll nils.goroll at uplex.de
Wed Jan 17 12:59:07 UTC 2018


commit 062234c19e62fac492bf6559ca2a296d4cc1020a
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Jan 17 13:55:13 2018 +0100

    Do not clean up files generated by lib/libvcc/generate.py
    
    ... for a simple make clean, in particular not vmod_abi.h.
    
    Otherwise, building from a trunk dist tarball will give a NOGIT
    VMOD_ABI_Version after a "make clean", while the correct version
    is in place for a simple make after unpacking the tarball.

diff --git a/include/Makefile.am b/include/Makefile.am
index d59b310..c11ba2b 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -119,10 +119,10 @@ $(GEN_H): vmod_abi.h
 GENERATED_H = vmod_abi.h $(GEN_H)
 
 BUILT_SOURCES = $(GENERATED_H)
-MAINTAINERCLEANFILES = vcs_version.h
+
+MAINTAINERCLEANFILES = $(GENERATED_H)
 
 CLEANFILES = \
-	$(GENERATED_H) \
 	vrt_test \
 	_vrt_test \
 	_vrt.c


More information about the varnish-commit mailing list