[Top][All Lists]
[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
- How to get dir without the trailing '/'?,
Peng Yu <=