[29532] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Make Emacs tags actually work

daemon@ATHENA.MIT.EDU (Tom Yu)
Mon Aug 8 14:18:36 2016

Date: Mon, 8 Aug 2016 14:18:32 -0400
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201608081818.u78IIWnH010062@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/2a1d02f05ea734a5e7a81f69752a5d80b6598d48
commit 2a1d02f05ea734a5e7a81f69752a5d80b6598d48
Author: Tom Yu <tlyu@mit.edu>
Date:   Thu Jul 28 13:18:23 2016 -0400

    Make Emacs tags actually work

 .gitignore      |    3 +++
 src/Makefile.in |   12 ++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 36117a2..3b63c98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -129,6 +129,9 @@ local.properties
 /doc/html/
 /doc/pdf/
 
+# Emacs tags table
+/src/TAGS
+
 /src/config.log
 /src/config.status
 /src/configure
diff --git a/src/Makefile.in b/src/Makefile.in
index 4d8c6f1..d8c524f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -667,3 +667,15 @@ check-copyright:
 	(cd $(top_srcdir) && \
 	$(FIND) . \( -name '*.[ch]' -o -name '*.hin' \) -print0 | \
 	$(XARGS) -0 python util/krb5-check-copyright.py)
+
+tags: FORCE
+	(cd $(top_srcdir) && \
+	$(FIND) . \( -name '*.[ch]' -o -name '*.hin' \) -print | \
+	etags --lang=c - && \
+	$(FIND) . -name '*.cpp' -print | etags --lang=c++ --append - && \
+	$(FIND) . -name '*.y' -print | etags --lang=yacc --append -)
+FORCE:
+.PHONY: FORCE tags
+
+distclean-unix:
+	$(RM) $(top_srcdir)/TAGS
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post