automake-patches
[Top][All Lists]
Advanced

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

Re: *_DATA containing blanks


From: Alexandre Duret-Lutz
Subject: Re: *_DATA containing blanks
Date: Thu, 24 Jul 2003 09:59:12 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>> "Ralf" == Ralf Corsepius <address@hidden> writes:

[...]

 Ralf> if test -n '$(%DIR%_%PRIMARY%)'; then \
 Ralf> for p in ""$(%DIR%_%PRIMARY%); do

 Ralf> Seems to work with Solaris 2.7 (/bin/sh + /usr/ccs/bin/make)
 Ralf> and RH-9 (bash + gmake).

You'll kill me, but I've just remembered a reason why Automake uses
  list='$(VAR)'; for i in $$list; 
over 
  for i in $(VAR); 
even when VAR is known not to be empty.

It's because we must support filenames containing `$'.  Java
users need this, and AFAIU they don't have to possibility to
rename their files.  There is a test case for this: dollar.test.
-- 
Alexandre Duret-Lutz





reply via email to

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