Codebase list dh-di / lintian-fixes/main dh_di_kernel_install
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

dh_di_kernel_install @lintian-fixes/mainraw · history · blame

#!/usr/bin/perl -w

=head1 NAME

dh_di_kernel_install - install kernel udeb files

=cut

use strict;
use Debian::Debhelper::Dh_Lib;

=head1 SYNOPSIS

B<dh_di_kernel_install> [S<B<debhelper options>>]

=head1 DESCRIPTION

dh_di_kernel_install is a debhelper program that runs C<kernel-wedge
install-files> and C<kernel-wedge check> to install files into package build
directories for kernel udebs.

It silently does nothing if the C<kernel-versions> file does not exist.

=cut

exit unless -f "kernel-versions";

doit("kernel-wedge", "install-files");
doit("kernel-wedge", "check");

=head1 SEE ALSO

L<debhelper(7)>, L<kernel-wedge(1)>

This program is a part of dh-di.

=head1 AUTHOR

Colin Watson <cjwatson@debian.org>

=cut