http://qs321.pair.com?node_id=646859


in reply to Getting rid of Perl in Makefiles

Hopefully this will work inside your Makefile: if I'm in a certain directory I can type

basename `pwd`
and I get just the cwd name.

non-Perl: Andy Ford