help-make
[Top][All Lists]
Advanced

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

Re: Remove trailing (back)slash?


From: Paul Smith
Subject: Re: Remove trailing (back)slash?
Date: Wed, 23 Nov 2011 16:42:33 -0500

On Wed, 2011-11-23 at 14:41 -0600, Edgar wrote:
> Anyone have any idea how to remove a trailing (back) slash from a 
> directory?

$(patsubst %\,%,$(VARIABLE))

will do it.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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