On Thu, Apr 8, 2010 at 11:55 PM, Montaseri <[email protected]> wrote:

> In your solution....do you run the configure(1) script from the ROOT_SRC
> directory first. If so, this unfortunately it is not quiet what I am looking
> for. The requirement is,
>

Yes, that's what i did, BUT my approach does not require editing the top
tree: it only looks for dirs with Makefiles containing the line "include
thisdir.make", and generates thisdir.make where it doesn't exist (it gets
cleaned up by 'make distclean').


> - check out the src code into any random place on your filesystem
> - go to any arbitrary subdir in the src tree and say make
>

i don't see a way around that without telling make where to look. You could
have a wrapper shell script which walks up the dir chain looking for
makefiles, but that's also a bit clumsy.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to