aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-06-29 13:12:55 +0200
committerJunio C Hamano <gitster@pobox.com>2021-06-29 13:04:00 -0700
commit922f8bbbf1097206969e423dd7af1bf33443765b (patch)
tree5e3d96207be349af95b3fbad9943e5ffb8d8c3ea
parentGit 2.32 (diff)
downloadgit-922f8bbbf1097206969e423dd7af1bf33443765b.tar.gz
git-922f8bbbf1097206969e423dd7af1bf33443765b.zip
Makefile: move ".PHONY: cscope" near its target
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>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3565fc0f8..4dd9711a65 100644
--- 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
#