[master] ed9ce1be6 build: Clean more generated includes

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Jun 19 15:52:04 UTC 2024


commit ed9ce1be6c9994fda04e4185b72e999dff7ecd8d
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Jun 19 15:33:21 2024 +0200

    build: Clean more generated includes
    
    We don't need to dial it up to 11 for the case where `make clean` runs
    in a source tree coming from a release archive instead of a git clone.
    Running `make distclean` should be enough to clear build artifacts that
    may not be known by older branches before switching to them.

diff --git a/include/Makefile.am b/include/Makefile.am
index ad4bc2555..347724d70 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -125,8 +125,9 @@ vcl.h: \
 	    $(top_srcdir) $(top_builddir)
 
 GEN_H = \
-	tbl/vrt_stv_var.h \
+	tbl/vcl_context.h \
 	tbl/vcl_returns.h \
+	tbl/vrt_stv_var.h \
 	vrt_obj.h
 
 $(GEN_H): vcl.h
@@ -157,7 +158,7 @@ BUILT_SOURCES = \
 	vmod_abi.h \
 	vrt_test.c
 
-MAINTAINERCLEANFILES = $(GENERATED_H)
+DISTCLEANFILES = $(GENERATED_H)
 
 CLEANFILES = vrt_test.c
 
diff --git a/lib/libvcc/Makefile.am b/lib/libvcc/Makefile.am
index 117f38a3c..9e50c1922 100644
--- a/lib/libvcc/Makefile.am
+++ b/lib/libvcc/Makefile.am
@@ -65,4 +65,4 @@ GENERATED_H = vcc_obj.c $(GEN_H)
 
 BUILT_SOURCES = $(GENERATED_H)
 
-MAINTAINERCLEANFILES = $(GENERATED_H)
+DISTCLEANFILES = $(GENERATED_H)


More information about the varnish-commit mailing list