From 548c2849fab0906f262491fc9744724f23af6687 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Wed, 14 Apr 2021 15:06:27 +0000 Subject: [PATCH] hide output of etags even the message "sh: etags: not such file or directory" or whatever seems to be confusing for users, so silent it. (maybe it would be better not to automatically generate the TAGS, but it's so handy...) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b86703b..731d37e 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ static: ${OBJS} ${CC} ${OBJS} -o gmid ${LDFLAGS} ${STATIC} TAGS: ${SRCS} - -etags ${SRCS} || true + @(etags ${SRCS} || true) 2>/dev/null clean: rm -f *.o compat/*.o lex.yy.c y.tab.c y.tab.h y.output gmid gg