automake
[Top][All Lists]
Advanced

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

Re: [PATCH] add cscope tags target


From: Bob Friesenhahn
Subject: Re: [PATCH] add cscope tags target
Date: Wed, 14 Jul 2004 15:40:29 -0500 (CDT)

On Wed, 14 Jul 2004, Jesse Barnes wrote:

On Wednesday, July 14, 2004 3:59 pm, Bob Friesenhahn wrote:
Probably gtags is not implemented very well.

Sounds like it.

It seems like there should be a rule to collect the source file list
from all Makefiles (including subordinate Makefiles) followed-up by
another rule which actually executes cscope using the file list.

That's where I got stuck.  If there were such a rule, it would be easy to dump
the filelist into cscope.files in the top level of the build directory and
pass that as an argument to cscope.

It should be no different than other recursive Automake rules (e.g. 'dist'). Each Makefile.am would concatenate its own source file list to a 'cscope.files' in the top level of the build directory. Once the rule in all the Makefile.am's has been executed, cscope would be executed. In fact, I think that the existing 'make dist' is the best example of this because it is pretty similar.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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