Makefile: don't include tests in TAGS.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-01-04 13:17:47 +10:30
parent f8344baf64
commit 59ecb3dfea
1 changed files with 2 additions and 1 deletions

View File

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