From 34ccd24d0e609ae26a0b0e0085462f35edc5bcce Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 26 Aug 2014 20:51:52 -0400 Subject: [PATCH] Add tags/TAGS target; rm tags/TAGS in clean Reviewed-by: Tim Hudson --- Makefile.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.org b/Makefile.org index d7c9db6fbb..372cd38dcd 100644 --- a/Makefile.org +++ b/Makefile.org @@ -497,7 +497,7 @@ libclean: clean: libclean rm -f shlib/*.o *.o core a.out fluff rehash.time testlog make.log cctest cctest.c @set -e; target=clean; $(RECURSIVE_BUILD_CMD) - rm -f $(LIBS) + rm -f $(LIBS) tags TAGS rm -f openssl.pc libssl.pc libcrypto.pc rm -f speed.* .pure rm -f $(TARFILE) @@ -557,9 +557,12 @@ depend: lint: @set -e; target=lint; $(RECURSIVE_BUILD_CMD) -tags: - rm -f TAGS - find . -name '[^.]*.[ch]' | xargs etags -a +tags TAGS: FORCE + rm -f TAGS tags + -ctags -R . + -etags -R . + +FORCE: errors: $(PERL) util/ck_errf.pl -strict */*.c */*/*.c -- 2.25.1