mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Merge branch 'ab/make-tags-quiet'
Generate [ec]tags under $(QUIET_GEN). * ab/make-tags-quiet: Makefile: add QUIET_GEN to "tags" and "TAGS" targets
This commit is contained in:
commit
14cc08de23
10
Makefile
10
Makefile
|
@ -2699,12 +2699,14 @@ FIND_SOURCE_FILES = ( \
|
|||
)
|
||||
|
||||
$(ETAGS_TARGET): FORCE
|
||||
$(RM) $(ETAGS_TARGET)
|
||||
$(FIND_SOURCE_FILES) | xargs etags -a -o $(ETAGS_TARGET)
|
||||
$(QUIET_GEN)$(RM) "$(ETAGS_TARGET)+" && \
|
||||
$(FIND_SOURCE_FILES) | xargs etags -a -o "$(ETAGS_TARGET)+" && \
|
||||
mv "$(ETAGS_TARGET)+" "$(ETAGS_TARGET)"
|
||||
|
||||
tags: FORCE
|
||||
$(RM) tags
|
||||
$(FIND_SOURCE_FILES) | xargs ctags -a
|
||||
$(QUIET_GEN)$(RM) tags+ && \
|
||||
$(FIND_SOURCE_FILES) | xargs ctags -a -o tags+ && \
|
||||
mv tags+ tags
|
||||
|
||||
cscope:
|
||||
$(RM) cscope*
|
||||
|
|
Loading…
Reference in a new issue