mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
support/scripts/scancpan: automatically populate LICENSE_FILES
This commit improves the scancpan script to automatically populate the LICENSE_FILES variable using informations available in the Perl package MANIFEST file. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
bef732889c
commit
6d3962f0bd
@@ -53,9 +53,6 @@ requested package, and also recursively for all dependencies specified by
|
||||
CPAN. You should still manually edit the result. In particular, the
|
||||
following things should be checked.
|
||||
|
||||
* The +PERL_FOO_BAR_LICENSE_FILES+ variable is not set, because metacpan
|
||||
doesn't have this information. Also, the name of the license file(s)
|
||||
varies between packages, and some don't even have a license file.
|
||||
* If the perl module links with a shared library that is provided by
|
||||
another (non-perl) package, this dependency is not added automatically.
|
||||
It has to be added manually to +PERL_FOO_BAR_DEPENDENCIES+.
|
||||
|
||||
Reference in New Issue
Block a user