[Top][All Lists]

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

Re: how-to Recursive Ascend

From: Stephan Beal
Subject: Re: how-to Recursive Ascend
Date: Fri, 9 Apr 2010 00:22:51 +0200

On Thu, Apr 8, 2010 at 11:55 PM, Montaseri <address@hidden> wrote:
In your 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

reply via email to

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