Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Getting rid of Perl in Makefiles

by mwah (Hermit)
on Oct 24, 2007 at 10:14 UTC ( [id://646864]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting rid of Perl in Makefiles
in thread Getting rid of Perl in Makefiles

andyford
I can type basename `pwd` and I get just the cwd name.

Perfect, this does almost what I need.

I only had to change the dir level (up one) in the backticks, like

... APPNAME = ${shell basename `cd .. ; pwd`} ...

Fine!

Regards & Thanks

mwa

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://646864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found