automake
[Top][All Lists]
Advanced

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

Re: directory names with blanks break automake builds


From: Ralf Wildenhues
Subject: Re: directory names with blanks break automake builds
Date: Mon, 19 May 2008 19:08:58 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* 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




reply via email to

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