Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: User-side module building with ExtUtils::MakeMaker

by pryrt (Abbot)
on Feb 21, 2020 at 14:52 UTC ( [id://11113314]=note: print w/replies, xml ) Need Help??


in reply to User-side module building with ExtUtils::MakeMaker

instead of hardcoding the mkdir command, which isn't known on all systems, use the $(MKPATH) from ExtUtils::MakeMaker's Makefile, which calls mkpath. As a side benefit, mkpath automatically generates necessary parents as well, so you don't need the --parents argument.

sub MY::postamble { <<'EOT' blib/lib/OPTiMaDe/Filter/%.pm: %.yp $(MKPATH) (@D) yapp -v -m OPTiMaDe::Filter::Parser -o $@ $< EOT }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found