bug-automake
[Top][All Lists]
Advanced

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

Re: Double '/' in source path breaks compilation if done from a director


From: Aleksander Morgado
Subject: Re: Double '/' in source path breaks compilation if done from a directory not where the Makefile.am resides
Date: Wed, 26 Nov 2008 10:37:53 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Hi all,

>>> Not flattening multiple consecutive slashes in prerequisite names for
>>> VPATH searches is a GNU make limitation, AFAICS undocumented.
>>> Not coping with this limitation is arguably a bug in your code.
> 
>> The reported issue is unexpected since:
>> $ echo 'int main() { return(0);}' > foo.c
>> $ cat Makefile
>> .////.////boo: foo.c
>>         $(CC) -o $@ $<
>> $ make
>> cc -o boo foo.c
> 
> I haven't said whether this is to be expected or not.  This is a GNU
> make issue, not an Automake one.  If you want it fixed, then report it
> to the bug-make list, please.

It's not really critical, but may be annoying. I will forward it to the
GNU make mailing list. Anyway, you said it's a known undocumented
limitation, so maybe the solution is not really fixing it, but just
keeping it documented.

Cheers,
-Aleksander




reply via email to

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