* tags.am (GTAGS): New target.
2000-12-21 Tom Tromey <tromey@redhat.com>
+ * automake.texi (Tags): Document GTAGS target.
+ * tags.am (GTAGS): New target.
+
* automake.in (libtoolize_files): Removed ltconfig.
(initialize_global_constants): Added ltconfig to common_files.
directory-by-directory basis.
@trindex id
+Automake also supports the GNU Global Tags program. The @code{GTAGS}
+target runs Global Tags automatically and puts the result in the top
+build directory.
+
@node Suffixes, , Tags, Miscellaneous
@section Handling new file extensions
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags @CONFIG@ $$unique $(LISP)
+
+## Support `Global' tags.
+GTAGS:
+ here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $$here
-@set UPDATED 20 December 2000
+@set UPDATED 21 December 2000
@set UPDATED-MONTH December 2000
@set EDITION 1.4a
@set VERSION 1.4a
## Make sure we have something to run etags on.
test -z "$(ETAGS_ARGS)@CONFIG@$$unique$(LISP)$$tags" \
|| etags $(ETAGS_ARGS) $$tags @CONFIG@ $$unique $(LISP)
+
+## Support `Global' tags.
+GTAGS:
+ here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $$here
-@set UPDATED 20 December 2000
+@set UPDATED 21 December 2000
@set UPDATED-MONTH December 2000
@set EDITION 1.4a
@set VERSION 1.4a