help-make
[Top][All Lists]
Advanced

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

How to get dir without the trailing '/'?


From: Peng Yu
Subject: How to get dir without the trailing '/'?
Date: Thu, 29 Jul 2010 11:20:51 -0500

Hi

$(dir somevariable) gives the directory but with a trailing '/'. I
could use $(patsubst ) to remove the trailing '/'. But I'm wondering
what is the best way to get the dir without the trailing character in
GNU Make?

-- 
Regards,
Peng



reply via email to

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