From 59ecb3dfea6f8bba5c122530617f1927f18cb0ed Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 4 Jan 2017 13:17:47 +1030 Subject: [PATCH] Makefile: don't include tests in TAGS. Signed-off-by: Rusty Russell --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75e6819ea..b3063fe33 100644 --- a/Makefile +++ b/Makefile @@ -256,8 +256,9 @@ check-source: check-makefile check-source-bolt check-whitespace \ full-check: check $(TEST_PROGRAMS) check-source +# Ignore test/ directories. TAGS: FORCE - $(RM) TAGS; find * -name '*.[ch]' | xargs etags --append + $(RM) TAGS; find * -name test -type d -prune -o -name '*.[ch]' -print | xargs etags --append FORCE:: ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o $(CDUMP_OBJS) $(CCAN_OBJS)