This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: [suggestion] new target GTAGS.
- To: Shigio Yamaguchi <shigio at tamacom dot com>
- Subject: Re: [suggestion] new target GTAGS.
- From: Tom Tromey <tromey at redhat dot com>
- Date: 21 Dec 2000 23:15:48 -0700
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- References: <87r932p9uk.fsf@creche.redhat.com> <200012210804.RAA01342@tamacom.com>
- Reply-To: tromey at redhat dot com
>>>>> ">" == Shigio Yamaguchi <shigio@tamacom.com> writes:
>> Yes, it does. The following command line makes tag files in
>> /var/obj instead of current directory.
>> % gtags /var/obj
Thanks.
>> But gtags must be invoked in the root of source directory.
Here is what I'm adding:
## Support `Global' tags.
GTAGS:
here=`cd $(top_builddir) && pwd` && cd $(top_srcdir) && gtags -i $$here
>> By the way, where does automake put tag files to?
It puts them in the build directory.
This might be the same as the source directory, if the user chose to
configure in the source tree.
Tom