automake SUBDIRS and gideon

Roberto Raggi raggi at di.unipi.it
Tue May 6 20:36:04 UTC 2003


On Tuesday 06 May 2003 19:00, Petr Ferschmann wrote:
> Hello,
>
> I am using conditional SUBDIRS in automake.
> Example:
> SUBDIRS = @MY_ALL_SUBDIRS@
>
>
>
> but there is problem that the auto* plugin in gideon show only
> @MY_ALL_SUBDIRS at . In final this macro expands to "subdir1 subdir2".
>
> I need to solve that.
> The best way is to use something like:
>
> fake_SUBDIRS=subdir1 subdir2
>
> and gideon will parse both SUBDIRS and fake_SUBDIRS. Supports something
> like that auto* and gideon?
>
> 			Thanks for help

we had a similar problem with kdevelop/parts.. it was solved adding a simple 
"directive" to autoproject. you can specify these directives in your .am 
file.

the directive has the form

#kdevelop: VAR = value

anyway, take a look at Makefile.am in kdevelop/parts for a complete example

ciao robe





More information about the KDevelop-devel mailing list