1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-08 01:36:08 +02:00

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 2f76919517 (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>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2021-06-29 13:12:55 +02:00 committed by Junio C Hamano
parent ebf3c04b26
commit 922f8bbbf1

View File

@ -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
#