[PATCH 2/5] git-gui: fix dependency of GITGUI_MAIN on generator
- From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
- Date
- Jul 30, 2025, 16:40 UTC
- Message-ID
- <20250730164052.15371-3-carenas@gmail.com>
- In-Reply-To
- <20250730164052.15371-1-carenas@gmail.com>
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> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index a87dc06..179857d 100644 --- 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
-- 2.50.1.475.g795bb014d8