On Sun, Apr 10, 2011 at 7:30 PM, ali hagigat wrote:
> Thanks Clark for the reply. 'count' is set by shell before doing make. like
> root> count=0
>
>
Have you exported the 'count' var before invoking make?
> On Sun, Apr 10, 2011 at 3:10 PM, Clark J. Wang
> wrote:
> > On Sun, Apr 10, 2011 at 6
> root> count=0
>
You didn't export it.
Thanks Clark for the reply. 'count' is set by shell before doing make. like
root> count=0
On Sun, Apr 10, 2011 at 3:10 PM, Clark J. Wang wrote:
> On Sun, Apr 10, 2011 at 6:17 PM, ali hagigat wrote:
>>
>> How can i specify a multi line shell instruction as a recipe? The
>> following returns an er
On Sun, Apr 10, 2011 at 6:17 PM, ali hagigat wrote:
> How can i specify a multi line shell instruction as a recipe? The
> following returns an error:
>
> makefile27:
> e14:
>@echo var1=$(var1)
>
> makefile25:
> include makefile27
> e12:
>@echo insidee12
> makefile27: e13
>
How can i specify a multi line shell instruction as a recipe? The
following returns an error:
makefile27:
e14:
@echo var1=$(var1)
makefile25:
include makefile27
e12:
@echo insidee12
makefile27: e13
if ( test $$count -eq 0) then echo "all: ;echo ppp" >
makefile27;count=1;f