]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile: move ".PHONY: cscope" near its target
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 29 Jun 2021 11:12:55 +0000 (13:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jun 2021 20:04:00 +0000 (13:04 -0700)
Move the ".PHONY: cscope" rule to live alongside the "cscope" target
itself, not to be all the way near the bottom where we define the
"FORCE" rule.

That line was last modified in 2f76919517e (MinGW: avoid collisions
between "tags" and "TAGS", 2010-09-28).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index c3565fc0f8f7df81232deca663bf55e14737ae97..4dd9711a653cda70b4906d34bdeb7c9f746939ed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2737,6 +2737,7 @@ tags: FORCE
        $(FIND_SOURCE_FILES) | xargs ctags -a -o tags+ && \
        mv tags+ tags
 
+.PHONY: cscope
 cscope:
        $(RM) cscope*
        $(FIND_SOURCE_FILES) | xargs cscope -b
@@ -3245,7 +3246,7 @@ endif
 
 .PHONY: all install profile-clean cocciclean clean strip
 .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
-.PHONY: FORCE cscope
+.PHONY: FORCE
 
 ### Check documentation
 #