[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (should-be) simple directory parsing
From: |
Paul D. Smith |
Subject: |
Re: (should-be) simple directory parsing |
Date: |
Mon, 15 May 2006 21:26:21 -0400 |
%% "Paul D. Smith" <address@hidden> writes:
pds> dir := $(shell pwd | sed -e "s,/TOP.*$$,,")
Actually, also, adding the "$" to the end here is redundant, since .*
will match everything anyway. You could just write:
dir := $(shell pwd | sed -e 's,/TOP.*,,')
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist