diff options
author | Russ Allbery <rra@cpan.org> | 2016-10-27 23:00:33 -0700 |
---|---|---|
committer | Russ Allbery <rra@cpan.org> | 2016-10-27 23:00:33 -0700 |
commit | 101c5618559b262686f03d1ba9ef26cc362f8082 (patch) | |
tree | 620fe072942233ff064208b6a8774eb3ba3524a5 /share | |
parent | 14290989cd24ef46c0d1583b4ac0b274cad4f31d (diff) |
Add support for license notices
Add support for license notices (the notices metadata file), which
should be appended to the end of the stock license statement wherever
it is generated.
Diffstat (limited to 'share')
-rw-r--r-- | share/templates/readme-md.tmpl | 4 | ||||
-rw-r--r-- | share/templates/readme.tmpl | 4 | ||||
-rw-r--r-- | share/templates/thread.tmpl | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/share/templates/readme-md.tmpl b/share/templates/readme-md.tmpl index 4b2d9d5..6639512 100644 --- a/share/templates/readme-md.tmpl +++ b/share/templates/readme-md.tmpl @@ -84,7 +84,9 @@ statement and license: > Copyright [% copr.years %] > [% copr.holder %] >[% END %] -[% indent(license.full, 1, '>') %] +[% indent(license.full, 1, '>') %][% IF license.notices %] +> +[% indent(license.notices, 1, '>') %][% END %] Some files in this distribution are individually released under different licenses, all of which are compatible with the above general package diff --git a/share/templates/readme.tmpl b/share/templates/readme.tmpl index f3ad908..3f4bf6a 100644 --- a/share/templates/readme.tmpl +++ b/share/templates/readme.tmpl @@ -103,7 +103,9 @@ LICENSE [% copyright(4) %] [% indent(license.full, 4) %] - +[% IF license.notices %] +[% indent(license.notices 4) %] +[% END %] Some files in this distribution are individually released under different licenses, all of which are compatible with the above general package license but which may require preservation of additional diff --git a/share/templates/thread.tmpl b/share/templates/thread.tmpl index cf9a940..e4ea198 100644 --- a/share/templates/thread.tmpl +++ b/share/templates/thread.tmpl @@ -176,7 +176,9 @@ and license: [% END %] [% indent(license.full, 4) %] - +[% IF license.notices %] +[% indent(license.notices, 4) %] +[% END %] ] Some individual source files are covered by other, compatible licenses. |