Skip to content

Commit d816009

Browse files
committed
add info about Module::Build
1 parent e9ae6f5 commit d816009

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,8 +1571,12 @@ The build section in the ``meta.yaml`` file should be something like this:
15711571
- make test
15721572
- make install VERBINST=1
15731573
1574-
Notable here is ``INSTALLDIRS=vendor``, which selects the appropriate install location for a conda-forge package, and the ``NO_PERLLOCAL`` and ``NO_PACKLIST`` switches, which suppress various CPAN tracking files that are unnecessary when the module is being externally packaged via conda.
1574+
Notable here is ``INSTALLDIRS=vendor``, which selects the appropriate install location for a conda-forge package, and the ``NO_PERLLOCAL`` and ``NO_PACKLIST`` switches, which suppress various CPAN tracking files (as described in the `ExtUtils::MakeMaker documentation <https://perldoc.perl.org/ExtUtils::MakeMaker>`__) that are unnecessary when the module is being externally packaged via conda.
15751575
15761576
.. note::
15771577
15781578
``noarch: generic`` should be used only if the package is a pure Perl package.
1579+
1580+
The other build system used for Perl packages is ``Module::Build``. ``Module::Build`` is a system for building, testing, and installing Perl modules.
1581+
It is an alternative to ``ExtUtils::MakeMaker``. It does not require a ``make`` on your system - most of the ``Module::Build`` code is pure-perl and written in a very cross-platform way.
1582+
To know more about ``Module::Build`` and difference between the two build systems read `Comparision <https://metacpan.org/pod/Module::Build#COMPARISON>`__ and `Module::Build <https://metacpan.org/pod/Module::Build>`__.

0 commit comments

Comments
 (0)