Add tags/TAGS target; rm tags/TAGS in clean

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Rich Salz 2014-08-26 20:51:52 -04:00
parent ed49eb4a48
commit 34ccd24d0e

View File

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