Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-05-28 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?