aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-04 10:53:00 -0800
committerJunio C Hamano <gitster@pobox.com>2026-03-04 10:53:00 -0800
commitefd5fdbcf9efce78eb536d440dcf42379d9b3197 (patch)
tree0875d4d17684040a2aa5e504f6fbd5f9c2f8cf29 /Makefile
parentbcc2fc2311da726e1da3c0eb0b539a802f8589c0 (diff)
parentebeea3c471c82638170764989d57d9dc24cc7450 (diff)
downloadgit-efd5fdbcf9efce78eb536d440dcf42379d9b3197.tar.xz
Merge branch 'dk/meson-regen-config-list'
Fix dependency screw-up in meson-based builds. * dk/meson-regen-config-list: build: regenerate config-list.h when Documentation changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b5231dff66..f3264d0a37 100644
--- a/Makefile
+++ b/Makefile
@@ -2688,9 +2688,10 @@ $(BUILT_INS): git$X
cp $< $@
config-list.h: generate-configlist.sh
+ @mkdir -p .depend
+ $(QUIET_GEN)$(SHELL_PATH) ./generate-configlist.sh . $@ .depend/config-list.h.d
-config-list.h: Documentation/*config.adoc Documentation/config/*.adoc
- $(QUIET_GEN)$(SHELL_PATH) ./generate-configlist.sh . $@
+-include .depend/config-list.h.d
command-list.h: generate-cmdlist.sh command-list.txt