[master] 0fea7e117 build: Generate VSCs .c and .h files separately

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Jun 7 14:32:10 UTC 2023


commit 0fea7e117ec12e2069fc16af0996b039a4065c58
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue May 16 14:12:14 2023 +0200

    build: Generate VSCs .c and .h files separately

diff --git a/vsc.am b/vsc.am
index 0a8da842a..e38d43e19 100644
--- a/vsc.am
+++ b/vsc.am
@@ -7,7 +7,10 @@ VSC_GEN = $(VSC_SRC:.vsc=.c) $(VSC_SRC:.vsc=.h)
 $(VSC_GEN): $(VSCTOOL)
 
 .vsc.c:
-	$(AM_V_GEN) $(PYTHON) $(VSCTOOL) -ch $<
+	$(AM_V_GEN) $(PYTHON) $(VSCTOOL) -c $<
+
+.vsc.h:
+	$(AM_V_GEN) $(PYTHON) $(VSCTOOL) -h $<
 
 clean-local: vsc-clean
 


More information about the varnish-commit mailing list