* lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
+2001-07-19 Tom Tromey <tromey@redhat.com>
+
+ * automake.texi (Tags): Document GTAGS_ARGS.
+ * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
+
2001-07-19 Tom Tromey <tromey@redhat.com>
Alexandre Duret-Lutz <duret_g@epita.fr>
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}.
+@vindex GTAGS_ARGS
@node Suffixes, Multilibs, Tags, Miscellaneous
GTAGS:
here=`CDPATH=: && cd $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
- && gtags -i $$here
+ && gtags -i $(GTAGS_ARGS) $$here
## ---------- ##