GNU bug report logs -
#12657
Can't have spaces in source files
Previous Next
Reported by: Hristo Venev <mustrumr97 <at> gmail.com>
Date: Mon, 15 Oct 2012 15:57:01 UTC
Severity: wishlist
Tags: wontfix
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 12657 <at> debbugs.gnu.org (full text, mbox):
tags 12657 + wontfix
close 12657
thanks
On 10/15/2012 09:31 PM, Nick Bowler wrote:
> On 2012-10-15 15:30 +0300, Hristo Venev wrote:
>> Consider the following example:
>> bin_PROGRAMS = prog
>> prog_SOURCES = "a file.c" "another file.c"
>>
>> This doesn't work and nor does any other way I have thought of.
>
> Nope, it does not. Unfortunately, make really does not work properly
> with spaces in filenames, so Automake isn't going to be able to do
> anything to help. See §28.4 "Limitations on File Names" in the Automake
> manual:
>
> https://www.gnu.org/software/automake/manual/automake.html#Limitations-on-File-Names
>
> in particular:
>
> Source and installation file names like main.c are limited even
> further: they should conform to the POSIX/XOPEN rules described above
>
> where the "POSIX/XOPEN rules" are described thusly:
>
> Portable packages should limit themselves to POSIX file names. These
> can contain ASCII letters and digits, ‘_’, ‘.’, and ‘-’. File names
> consist of components separated by ‘/’. File name components cannot
> begin with ‘-’.
>
As Nick have correctly explained (BTW: thanks Nick for yet another
quick and detailed answer!), this Automake/make limitation is too much
ingrained to be removed or even tackled. Thus I'm marling this report
as "won't fix", and closing it.
Regards,
Stefano
This bug report was last modified 11 years and 148 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.