1Module::Install::AutoLiUcseenrseC(o3n)tributed Perl DocuMmoednutlaet:i:oInnstall::AutoLicense(3)
2
3
4

NAME

6       Module::Install::AutoLicense - A Module::Install extension to
7       automagically generate LICENSE files
8

SYNOPSIS

10         # In Makefile.PL
11
12         use inc::Module::Install;
13         author 'Vestan Pants';
14         license 'perl';
15         auto_license;
16
17       An appropriate "LICENSE" file will be generated for your distribution.
18

DESCRIPTION

20       Module::Install::AutoLicense is a Module::Install extension that
21       generates a "LICENSE" file automatically whenever the author runs
22       "Makefile.PL". On the user side it does nothing.
23
24       When "make distclean" is invoked by the author, the "LICENSE" is
25       removed.
26
27       The appropriate license to determined from the meta provided with the
28       "license" command and the holder of the license from the "author"
29       command.
30
31       Software::License is used to generate the "LICENSE" file.
32

COMMANDS

34       This plugin adds the following Module::Install command:
35
36       "auto_license"
37           Does nothing on the user-side. On the author-side it will generate
38           a "LICENSE" file according to the previously supplied "license"
39           command. The "holder" of the license is determined from the
40           "author" meta or may be specified using the "holder" parameter.
41
42             auto_license( holder => 'Vestan Pants and Ivor Biggun' );
43
44           It is important to note that the "auto_license" must follow
45           "author" and "license" commands in the "Makefile.PL" ( as
46           demonstrated in the SYNOPSIS above ), otherwise the meta these
47           commands provide will be unavailable to "auto_license".  Call it a
48           feature.
49

AUTHOR

51       Chris "BinGOs" Williams
52

LICENSE

54       Copyright © Chris Williams
55
56       This module may be used, modified, and distributed under the same terms
57       as Perl itself. Please see the license that came with your Perl
58       distribution for details.
59

SEE ALSO

61       Module::Install
62
63       Software::License
64
65
66
67perl v5.30.1                      2020-01-30   Module::Install::AutoLicense(3)
Impressum