automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: GTAGS_ARGS


From: Tom Tromey
Subject: Patch: GTAGS_ARGS
Date: 19 Jul 2001 19:53:20 -0600

I'm checking this in.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>

        * automake.texi (Tags): Document GTAGS_ARGS.
        * lib/am/tags.am (GTAGS): Added GTAGS_ARGS.  From Shigio Yamaguchi.

2001-07-19  Tom Tromey  <address@hidden>
Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.224
diff -u -r1.224 automake.texi
--- automake.texi 2001/07/20 01:22:47 1.224
+++ automake.texi 2001/07/20 01:27:19
@@ -3806,7 +3806,9 @@
 
 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.
+build directory.  The variable @code{GTAGS_ARGS} holds arguments which
+are passed to @code{gtags}.
address@hidden GTAGS_ARGS
 
 
 @node Suffixes, Multilibs, Tags, Miscellaneous
Index: lib/am/tags.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/tags.am,v
retrieving revision 1.32
diff -u -r1.32 tags.am
--- lib/am/tags.am 2001/07/15 21:29:28 1.32
+++ lib/am/tags.am 2001/07/20 01:27:20
@@ -74,7 +74,7 @@
 GTAGS:
        here=`CDPATH=: && cd $(top_builddir) && pwd` \
          && cd $(top_srcdir) \
-         && gtags -i $$here
+         && gtags -i $(GTAGS_ARGS) $$here
 
 
 ## ---------- ##



reply via email to

[Prev in Thread] Current Thread [Next in Thread]