bug-make
[Top][All Lists]
Advanced

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

make-3.80 fails when 3.79.1 succeeds


From: Hillel (Sabba) Markowitz
Subject: make-3.80 fails when 3.79.1 succeeds
Date: Mon, 28 Oct 2002 15:12:23 -0500

The following makefile fails in make-3.80 but succeeds in make-3.79.1


---------------------------------------

[AllTargets] = libc.so libb.so

prereq: ${foreach z, $([AllTargets]), $(z)|@address@hidden

all: ${foreach z, $([AllTargets]), $(z)|@address@hidden
     echo ${prereq}

-----------------------------------------

When the foreach command is used in the variable (prereq) it builds the list 
like this

liba.so|@maked@ libb.so|@maked@

When the foreach is used as a prerequisite it produses this.

liba.so | @maked@ libb.so|@maked@


Note that the error is the spaces around the first '|' symbol.  Adding a 
backslash ('\') before the pipe ('|' in the foreach solves the problem.

This occurs in make-3.80 but not in make-3.79.1

Please respond directly to me as well as the mailing list as I do not 
subscribe or have normal access to it.

-- 
Said the fox to the fish, "Join me ashore".
 The fish are the Jews, Torah is our water

Hillel (Sabba) Markowitz - address@hidden





reply via email to

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