From: Rich Salz Date: Wed, 27 Aug 2014 00:51:52 +0000 (-0400) Subject: Add tags/TAGS target; rm tags/TAGS in clean X-Git-Tag: master-pre-reformat~404 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34ccd24d0e609ae26a0b0e0085462f35edc5bcce;p=openssl Add tags/TAGS target; rm tags/TAGS in clean Reviewed-by: Tim Hudson --- 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