public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: FYI: TAGS for libcpp
@ 2008-04-16 23:08 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2008-04-16 23:08 UTC (permalink / raw)
  To: Gcc Patch List

I'm checking this in on the trunk.

This adds a TAGS target to the libcpp Makefile.  I've been using a
similar patch on the incremental branch for a while, but I also wanted
it on the trunk.

Tom

ChangeLog:
2008-04-16  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (TAGS_SOURCES): New variable.
	(TAGS): New target.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 134333)
+++ Makefile.in	(working copy)
@@ -246,7 +246,13 @@
 	sed 's:$(srcdir)/::g' <po/$(PACKAGE).pot.tmp >po/$(PACKAGE).pot
 	rm po/$(PACKAGE).pot.tmp
 
+TAGS_SOURCES = $(libcpp_a_SOURCES) makedepend.c internal.h ucnid.h \
+    include/line-map.h include/symtab.h include/cpp-id-data.h \
+    include/cpplib.h include/mkdeps.h system.h
 
+TAGS: $(TAGS_SOURCES)
+	cd $(srcdir) && etags $(TAGS_SOURCES)
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-16 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-16 23:08 Patch: FYI: TAGS for libcpp Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).