1Module::Install::Share(U3s)er Contributed Perl DocumentatMioodnule::Install::Share(3)
2
3
4

NAME

6       Module::Install::Share - Install non-code files for use during run-time
7

SYNOPSIS

9           # Put everything inside ./share/ into the distribution 'auto' path
10           install_share 'share';
11
12           # Same thing as above using the default directory name
13           install_share;
14

DESCRIPTION

16       As well as Perl modules and Perl binary applications, some
17       distributions need to install read-only data files to a location on the
18       file system for use at run-time.
19
20       XML Schemas, YAML data files, and SQLite databases are examples of the
21       sort of things distributions might typically need to have available
22       after installation.
23
24       "Module::Install::Share" is a Module::Install extension that provides
25       commands to allow these files to be installed to the applicable
26       location on disk.
27
28       To locate the files after installation so they can be used inside your
29       module, see this extension's companion module File::ShareDir.
30

TO DO

32       Currently "install_share" installs not only the files you want, but if
33       called by the author will also copy .svn and other source-control
34       directories, and other junk.
35
36       Enhance this to copy only files under share that are in the MANIFEST,
37       or possibly those not in MANIFEST.SKIP.
38

AUTHORS

40       Audrey Tang <autrijus@autrijus.org>
41
42       Adam Kennedy <adamk@cpan.org>
43

SEE ALSO

45       Module::Install, File::ShareDir
46
48       Copyright 2006 Audrey Tang, Adam Kennedy.
49
50       This program is free software; you can redistribute it and/or modify it
51       under the same terms as Perl itself.
52
53       See <http://www.perl.com/perl/misc/Artistic.html>
54
55
56
57perl v5.32.0                      2020-07-28         Module::Install::Share(3)
Impressum