Skip to content
Snippets Groups Projects
Commit b0147a9f authored by Walter Lozano's avatar Walter Lozano
Browse files

dh_installdocs: Install license scan report


As part of the installation process install also the license scan report
which is located in debian/apertis/copyright.

Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
parent b6ffb05d
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ specific copyright file is available.
=item debian/I<package>.TODO
=item F<debian/apertis/copyright>
Each of these files is automatically installed if present for a
I<package>.
......@@ -243,9 +245,18 @@ if ($dh{DOC_MAIN_PACKAGE}) {
}
foreach my $package (getpackages()) {
my $tmp=tmpdir($package);
# Copy license scan report
my $copyright_report = "debian/apertis/copyright";
if (-e $copyright_report && ! excludefile($copyright_report)) {
ensure_docdir($package);
install_file($copyright_report,
"$tmp/usr/share/doc/$package/copyright_report");
}
next if is_udeb($package);
my $tmp=tmpdir($package);
my $file=pkgfile($package,"docs");
my $link_doc=($dh{LINK_DOC} && $dh{LINK_DOC} ne $package);
my $skip_install = process_pkg($package) ? 0 : 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment