This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make (v. 3.81) fails -- "target pattern contains no `%'"


On Wed, Jul 12, 2006 at 05:32:04PM -0700, Jim Lawson wrote:
>> > Date: Wed, 12 Jul 2006 20:15:27 -0400
>> From: "Aslam Karachiwala" <akwala@gmail.com>
>> To: cygwin@cygwin.com
>> Subject: make (v. 3.81) fails -- "target pattern
>> contains no `%'"
>> 
>> cygcheck.out attached.
>> 
>>  The Makefiles were copied from Solaris 10, and make
>> worked fine prior
>> to the update yesterday (7/11/06), and it works
>> fine, again, after I
>> reverted back to make v. 3.80
>> 
>...
>> 
>>  The error -- target pattern contains no `%' --
>> occurs at a target
>> such as the following:
>> 
>> releaseproducts  :: $(RELEASEDIR)/$(BINIMAGE)
>
>I think you'll find that this is due to the dropping of support for
>Windows paths in the new (3.81) version of make.  I suspect
>$(RELEASEDIR) has a ':' in it somewhere.
>
>Try something like this:
>
>RELEASEDIR:=$(shell cygpath -u $(RELEASEDIR))

That is an inspired guess which never would have occurred to me.  I'll
bet you're right, though.  That may even become a FAQ at some point.

If this isn't the case then we'll (obviously?) need to see more of
the makefile than the one failing line.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]