Dist::Build::ShareDir(3pm)

Dist::Build::ShareDir3pm

Sharedir support for dist::build

Usage

 load_extension("Dist::Build::ShareDir");
 dist_sharedir('share', 'Foo-Bar');
 module_sharedir('foo', 'Foo::Bar');

Version

version 0.020

Overview

This Dist::Build extension implements sharedirs. It does not take any arguments at loading time, and exposts two functions to the planner:

dist_sharedir($dir, $distribution)

This marks $dir as the source sharedir for the distribution $distribution. If $distribution isn't given, it defaults to the "distribution" of the planner.

module_sharedir($dir, $module_name)

This marks $dir as the source sharedir for the module $module_name. If $module_name isn't given, it defaults to the "main_module" of the planner.

Author

Leon Timmermans <[email protected]>

From libdist-build-perl 0.020-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.