make-w32
[Top][All Lists]
Advanced

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

Re: trouble with ( in path or target name with CVS gmake on cygwin


From: Bill Hoffman
Subject: Re: trouble with ( in path or target name with CVS gmake on cygwin
Date: Thu, 07 Jan 2010 16:41:58 -0500
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Bill Hoffman wrote:
I did a CVS checkout of gmake on this date:

checkout date: 2009-12-30 16:00
$ cat CVS/Root
:pserver:address@hidden:/sources/make
$ cat CVS/Repository
make

I have the cygwin built make renamed to make.orig:

$ make.orig --version
GNU Make 3.81

$ make --version
GNU Make 3.81.90

I create some small makefiles, one with () in the file name:


$ cat "foo.make"
include bar(x).make

$ cat "bar(x).make"
foo(x)/tada:
        @echo tada

Works with original make:

$ make.orig -f "bar(x).make" "foo(x)/tada"
tada

Fails with cvs make:
$ make -f "bar(x).make" "foo(x)/tada"
make: *** No rule to make target `foo(x)/tada'.  Stop.

Works with original make:
$ make.orig -f "foo.make"
tada

Fails with CVS make:
$ make -f "foo.make"
foo.make:1: x).make): No such file or directory
make: *** No rule to make target `x).make)'.  Stop.


This also seems to be broken on linux.
make --version
GNU Make 3.81
../make/make --version
GNU Make 3.81.90

$ ../make/make -f foo.make
foo.make:1: x).make): No such file or directory
make: *** No rule to make target `x).make)'.  Stop.

$ make -f foo.make
tada

Should I post this to a different mailing list since it is not just a cygwin issue?

-Bill




reply via email to

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