Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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

by venky4289 (Novice)
on Dec 18, 2013 at 07:44 UTC ( #1067603=note: print w/replies, xml ) Need Help??

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

Thanks for the Reply. Now i got an idea, But can you please tell me waht does each command do ? perl make make test make install

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

Replies are listed 'Best First'.
Re^3: Why do you need makefile in perl?
by Anonymous Monk on Dec 18, 2013 at 07:46 UTC
Re^3: Why do you need makefile in perl?
by pemungkah (Priest) on Dec 18, 2013 at 20:05 UTC
    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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2018-08-17 12:46 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (178 votes). Check out past polls.