-
-
19 Dec 2017 23:32:25 UTC
- Distribution: Module-Install
- Module version: 1.19
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (75)
- Testers (6031 / 2 / 0)
- Kwalitee
Bus factor: 4- 23.12% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (111.86KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 35 contributors-
Adam Kennedy
-
Kenichi Ishigaki
-
Alexandr Ciornii
-
Chris 'BinGOs' Williams
-
Paul Fenwick
-
bowtie
-
Matt S Trout
-
Dan Book
-
Alberto Simoes
-
Christian Walde
-
Ricardo Signes
-
Ingy
-
Hans Dieter Pearcey
-
Avar Arnfjord Bjarmason
-
Curtis Jewell
-
Graham Knop
-
Olivier Mengue
-
Rafael Kitover
-
gregor herrmann
-
Alex Vandiver
-
Ash Berlin
-
Craig A. Berry
-
Dan Brook
-
David Golden
-
Gabor Szabo
-
Graham Ollis
-
Joshua ben Jore
-
Kang-min Liu
-
Kent Fredric
-
Leo Lapworth
-
Marcel Grunauer
-
Peter Rabbitson
-
Thomas Sibley
-
Tokuhiro Matsuno
-
Tom Wyant
NAME
Module::Install::Share - Install non-code files for use during run-time
SYNOPSIS
# Put everything inside ./share/ into the distribution 'auto' path install_share 'share'; # Same thing as above using the default directory name install_share;
DESCRIPTION
As well as Perl modules and Perl binary applications, some distributions need to install read-only data files to a location on the file system for use at run-time.
XML Schemas, YAML data files, and SQLite databases are examples of the sort of things distributions might typically need to have available after installation.
Module::Install::Share
is a Module::Install extension that provides commands to allow these files to be installed to the applicable location on disk.To locate the files after installation so they can be used inside your module, see this extension's companion module File::ShareDir.
TO DO
Currently
install_share
installs not only the files you want, but if called by the author will also copy .svn and other source-control directories, and other junk.Enhance this to copy only files under share that are in the MANIFEST, or possibly those not in MANIFEST.SKIP.
AUTHORS
Audrey Tang <autrijus@autrijus.org>
Adam Kennedy <adamk@cpan.org>
SEE ALSO
Module::Install, File::ShareDir
COPYRIGHT
Copyright 2006 Audrey Tang, Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Module::Install, copy and paste the appropriate command in to your terminal.
cpanm Module::Install
perl -MCPAN -e shell install Module::Install
For more information on module installation, please visit the detailed CPAN module installation guide.