diff --git a/Makefile b/Makefile index a86bd646ac..e18fa7287f 100644 --- a/Makefile +++ b/Makefile @@ -2022,7 +2022,7 @@ $(SCRIPT_LIB) : % : %.sh $(QUIET_GEN)$(cmd_munge_script) && \ mv $@+ $@ -git.res: git.rc +git.res: git.rc GIT-VERSION-FILE $(QUIET_RC)$(RC) \ $(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \ -DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@