summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-05-17 17:06:15 +0200
committerSebastian Rasmussen <sebras@gmail.com>2016-06-14 00:44:28 +0200
commit46b75f288d877af0d307259f7b454df02ee83c10 (patch)
tree53db20c798ac26ed524a5ad47032478c161d9e34 /Makefile
parentb658cb54fb17a6a622cd48896b6b5b5e39a168c1 (diff)
downloadmupdf-46b75f288d877af0d307259f7b454df02ee83c10.tar.xz
Teach "make tags" target to be quiet.
If verbose=yes is set then the full list of files will be printed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index be1cdfe2..a1dee548 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ QUIET_GEN = @ echo ' ' ' ' GEN $@ ;
QUIET_LINK = @ echo ' ' ' ' LINK $@ ;
QUIET_MKDIR = @ echo ' ' ' ' MKDIR $@ ;
QUIET_RM = @ echo ' ' ' ' RM $@ ;
+QUIET_TAGS = @ echo ' ' ' ' TAGS $@ ;
endif
CC_CMD = $(QUIET_CC) $(CC) $(CFLAGS) -o $@ -c $<
@@ -54,6 +55,7 @@ AR_CMD = $(QUIET_AR) $(AR) cr $@ $^
LINK_CMD = $(QUIET_LINK) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
MKDIR_CMD = $(QUIET_MKDIR) mkdir -p $@
RM_CMD = $(QUIET_RM) rm -f $@
+TAGS_CMD = $(QUIET_TAGS) ctags $^
# --- File lists ---
@@ -377,7 +379,7 @@ java:
$(MAKE) -C platform/java
tags: $(shell find include source platform thirdparty -name '*.[ch]' -or -name '*.cc' -or -name '*.hh')
- ctags $^
+ $(TAGS_CMD)
cscope.files: $(shell find include source platform -name '*.[ch]')
@ echo $^ | tr ' ' '\n' > $@