On Wed, 2007-04-25 at 06:27 +0300, Eli Zaretskii wrote:
> How about
>
> VERSION := $(shell make /path/to/some/file && grep VERSION
> /path/to/some/file)
This will work, but I prefer the include version I mentioned earlier.
Also note you should always use $(MAKE), never "make", when invoking a
s
> From: Paul Smith <[EMAIL PROTECTED]>
> Cc: David Wuertele <[EMAIL PROTECTED]>, help-make@gnu.org
> Date: Wed, 25 Apr 2007 09:12:34 -0400
>
> > VERSION := $(shell make /path/to/some/file && grep VERSION
> > /path/to/some/file)
>
> This will work, but I prefer the include version I mentioned ea
On Wed, 2007-04-25 at 21:25 +0300, Eli Zaretskii wrote:
> > From: Paul Smith <[EMAIL PROTECTED]>
> > Cc: David Wuertele <[EMAIL PROTECTED]>, help-make@gnu.org
> > Date: Wed, 25 Apr 2007 09:12:34 -0400
> >
> > > VERSION := $(shell make /path/to/some/file && grep VERSION
> > > /path/to/some/file)