%% "Paul D. Smith" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make