Methods to Produce the Makefile
ExtUtils::MM_Unix has some additional methods that are called
in sequence to produce a Makefile. The list of methods is specified
in the array @ExtUtils::MakeMaker::MM_Sections
, one
method per section. The routines are all called the same way and so
are just listed here. Each method returns the string to be put into
its section of the Makefile.
The methods are called in the order that they are listed in the following table, reading down the columns:
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
Finally, there are two special methods: post_initialize
and postamble
. They each return an empty
string by default and can be defined in
Makefile.PL to insert customized text near the
beginning or end of the Makefile.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.