Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Why do you need makefile in perl?

by pemungkah (Priest)
on Dec 18, 2013 at 20:05 UTC ( #1067695=note: print w/replies, xml ) Need Help??

in reply to Re^2: Why do you need makefile in perl?
in thread Why do you need makefile in perl?

perl Makefile.PL sets up the necessary build directories and creates a Makefile.

make builds the module by copying the contents of <t>lib/ into blib ("build library"); if there are any XS modules, these get compiled at this point.

make test runs all the tests vs. the code now in blib to verify that it passes its tests.

make install copies the code in blib to the local Perl module directory as defined in the Perl install.

make disttest verifies that we have all the files we expect, we don't have any files we don't expect, and that they are all in the right relative locations when we ready the code for distribution; it also rechecks that the ready-for-distribution code still passes its tests.

make dist creates a tar ball of the source we want to distribute.

  • Comment on Re^3: Why do you need makefile in perl?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-03-20 19:40 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.