]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-gui: fix dependency of GITGUI_MAIN on generator
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Thu, 31 Jul 2025 08:06:25 +0000 (01:06 -0700)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 31 Jul 2025 16:42:54 +0000 (18:42 +0200)
Since 854e883 (git-gui: extract script to generate "git-gui",
2025-03-11), the logic to generate the main script was pulled
out of the Makefile, but adding the resulting generator as a
dependency was missed.

If the logic changes, the main script should be regenerated, so
add it as a dependency.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Makefile

index a87dc0658749f80993f3b1ded8c8cec07842c7d9..179857d08836e57e3e3c7380ebb87d69e1c466d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,7 @@ git-gui: windows/git-gui.sh
        cp $< $@
 endif
 
-$(GITGUI_MAIN): git-gui.sh GIT-VERSION-FILE GIT-GUI-BUILD-OPTIONS
+$(GITGUI_MAIN): git-gui.sh GIT-VERSION-FILE GIT-GUI-BUILD-OPTIONS generate-git-gui.sh
        $(QUIET_GEN)$(SHELL_PATH) generate-git-gui.sh "$<" "$@" ./GIT-GUI-BUILD-OPTIONS ./GIT-VERSION-FILE
 
 XGETTEXT   ?= xgettext