On Wed, Aug 02, 2006 at 09:59:42AM -0000, Martin Pitt wrote:
> > > I disagree that you have to fix 'most Linux tools'. I do not know
> > > any program which doesn't cope with spaces in file names
> > make?
> Example?
>
> It works pretty well for me:
>
> --- snip: Makefile ---
> foo\ bar:
> @echo Hi
> --- snip: Makefile ---
You're not actually dealing with file names with spaces in them, but
rather just make targets with spaces in them.
-- snip: Makefile --
%:%.c
$(CC) $(CFLAGS) -o "$@" "$<"
-- snip: Makefile --
-- snip: hello_world.c --
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello, world\n");
return 0;
}
-- snip: hello_world.c --
$ make hello_world
cc -o "hello_world" "hello_world.c"
No problem, but:
$ cp hello_world.c hello\ world.c ; make hello\ world
make: *** No rule to make target `hello world'. Stop.
--
USB disk is automount to "/media/USB DISK" mount point
https://launchpad.net/bugs/54536
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs