* Peter Simons wrote on Sun, May 18, 2008 at 02:36:58PM CEST: > Ralf Wildenhues writes: > > > Well, at least white space in targets and dependencies is forbidden > > with make. > > Whitespace can be quoted with '\'. At least in GNU Make, the following > snippet works just fine: > > | output\ file : input\ file > | cp "$<" "$@" > | > | input\ file: > | date >"$@"
This really is GNU make-specific. > There probably are some make implementations that will not understand > the escape syntax, but personally I'd refer to that as a bug, not as a > design problem. Well, Posix doesn't require the above to work, so really I view this as a GNU extension. > Anyhow, Automake aims to work with all make > implementations, so it must accommodate broken makes somehow. It's an > unpleasant situation. Yep. > The problem I'm hitting is that ${srcdir} contains a blank, so the path > to 'install-sh' contains a blank too: I think that's one of the remaining unfixed problems, unfortunately. Cheers, Ralf