This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: [PATCH] add cscope tags target
On Wednesday, July 14, 2004 3:36 pm, Bob Friesenhahn wrote:
> On Wed, 14 Jul 2004, Jesse Barnes wrote:
> > Now that cscope is free software, I thought it might be nice if automake
> > created make targets for it. It's a powerful too; very useful for large
> > projects. Here's a patch that implements it in tags.am. If it looks ok,
> > can someone please commit it so it's part of the next release?
>
> It looks like this rule will include source files which are not
> incorporated by Makefile.am since it appears to simply recurse through
> the source tree. That means it may pick up source files from other
> projects, or source files which are not in use. Is that what you
> intended?
Kind of. It looks like gtags does that, so I followed its example. It might
be better to only include those explicitly listed by Makefile.am, but I
wasn't sure of the best way to get the full list of source files... OTOH,
maybe it's best to index the whole project.
Jesse