NAME
Makefile.PL - configure and generate the Developer::Dashboard build Makefile
DESCRIPTION
This script configures the Developer::Dashboard Perl distribution with ExtUtils::MakeMaker. It declares runtime and configuration prerequisites, version metadata, executable scripts, XS extension sources, shared assets, and repository metadata. Its MakeMaker postamble installs private command helpers and removes its generated local-library launcher during make clean.
On Linux, the System Menu helper is built when pkg-config can find the Ayatana AppIndicator3 and GTK3 development modules. If either module is absent, configuration prints a notice and omits that optional helper target so CPAN testers can build and test the distribution without desktop development headers. The System Menu feature still reports a missing helper when invoked. Set DD_REQUIRE_SYSTEM_MENU_HELPER=1 to make missing modules a configuration failure; the Linux coverage workflow uses this setting so its native helper check cannot be skipped.
When local::lib modules are present under .perl5 or the current user's perl5 directory, the generated Makefile runs Perl commands through a small generated launcher. The user's directory is resolved from HOME on Unix or USERPROFILE on Windows; if neither variable exists, only .perl5 is considered. The launcher adds the active local-library directories to PERL5LIB before running Perl and forwarding the original arguments. Child commands inherit the same environment. The launcher avoids GNU make-only assignment and export syntax, so source distributions remain parseable by BSD and Solaris make.
WHEN TO USE
Run this configuration script when building or testing a source checkout with MakeMaker. Dist::Zilla invokes it as part of distribution testing and installation.
HOW TO USE
perl Makefile.PL
make
make test
make clean
The generated Makefile and launcher belong to the build tree; neither is required as a checked-in source file.
EXAMPLES
Example 1: configure and test a source checkout:
perl Makefile.PL && make test
Example 2: remove generated build files after testing:
make clean
USERS
Maintainers and source-distribution installers use this file to configure the distribution. CPAN testers use the generated Makefile with the platform's native make implementation.