programming: Makefile
George Georgalis
george at galis.org
Sun Jun 5 17:55:38 PDT 2005
Is there a cleaner way to express this with Makefile
variable expansion syntax?
sed -e 's,[^/]*/,../,g' -e 's,[^/]*$,..,'
eg
ls `cat CVS/Repository | sed -e 's,[^/]*/,../,g' -e 's,[^/]*$,..,'`
for discovering the path to the top level Makefile in a cvs checkout,
for make -f, or maybe there is a better way to navigate there?
// George
--
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at xxxxxxxxx
More information about the Users
mailing list