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 ...))
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make
