bug-make
[Top][All Lists]
Advanced

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

Re: possible problem with $(dir ... )


From: Paul Smith
Subject: Re: possible problem with $(dir ... )
Date: Tue, 13 Jul 2010 16:53:27 -0400

On Tue, 2010-07-13 at 12:44 -0700, Warren Dodge wrote:
> 
> I notice that $(dir ...) leaves the trailing / when given a full
> filename path.
> 
> Is there an easy way to remove the trailing / ?

It ain't pretty but the standard, safe way of doing it is:

        $(patsubst %/,%,$(dir ...))





reply via email to

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