git-gui: Makefile: consolidate .FORCE-* targets
Providing multiple targets to force a rebuild is unnecessary complication. Avoid using a name that could conflict with future special targets in GNU make (a leading period followed by uppercase letters). Cc: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
60204ddb99
commit
54350a2bb4
7
Makefile
7
Makefile
@ -7,7 +7,7 @@ all::
|
|||||||
# TCL_PATH must be vaild for this to work.
|
# TCL_PATH must be vaild for this to work.
|
||||||
#
|
#
|
||||||
|
|
||||||
GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
|
GIT-VERSION-FILE: FORCE
|
||||||
@$(SHELL_PATH) ./GIT-VERSION-GEN
|
@$(SHELL_PATH) ./GIT-VERSION-GEN
|
||||||
-include GIT-VERSION-FILE
|
-include GIT-VERSION-FILE
|
||||||
|
|
||||||
@ -270,7 +270,7 @@ TRACK_VARS = \
|
|||||||
GITGUI_MACOSXAPP=$(GITGUI_MACOSXAPP) \
|
GITGUI_MACOSXAPP=$(GITGUI_MACOSXAPP) \
|
||||||
#end TRACK_VARS
|
#end TRACK_VARS
|
||||||
|
|
||||||
GIT-GUI-VARS: .FORCE-GIT-GUI-VARS
|
GIT-GUI-VARS: FORCE
|
||||||
@VARS='$(TRACK_VARS)'; \
|
@VARS='$(TRACK_VARS)'; \
|
||||||
if test x"$$VARS" != x"`cat $@ 2>/dev/null`" ; then \
|
if test x"$$VARS" != x"`cat $@ 2>/dev/null`" ; then \
|
||||||
echo 1>&2 " * new locations or Tcl/Tk interpreter"; \
|
echo 1>&2 " * new locations or Tcl/Tk interpreter"; \
|
||||||
@ -340,5 +340,4 @@ ifdef GITGUI_WINDOWS_WRAPPER
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all install uninstall dist-version clean
|
.PHONY: all install uninstall dist-version clean
|
||||||
.PHONY: .FORCE-GIT-VERSION-FILE
|
.PHONY: FORCE
|
||||||
.PHONY: .FORCE-GIT-GUI-VARS
|
|
||||||
|
Loading…
Reference in New Issue
Block a user