File: dh_listpackages

package info (click to toggle)
debhelper 12.1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,072 kB
  • sloc: perl: 10,850; makefile: 120; sh: 8
file content (45 lines) | stat: -rwxr-xr-x 824 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/perl

=head1 NAME

dh_listpackages - list binary packages debhelper will act on

=cut

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

our $VERSION = DH_BUILTIN_VERSION;

=head1 SYNOPSIS

B<dh_listpackages> [S<I<debhelper options>>]

=head1 DESCRIPTION

B<dh_listpackages> is a debhelper program that outputs a list of all binary
packages debhelper commands will act on. If you pass it some options, it
will change the list to match the packages other debhelper commands would
act on if passed the same options.

Packages are listed in the order they appear in F<debian/control>.

=cut

$dh{BLOCK_NOOP_WARNINGS}=1;
init();
inhibit_log();
print join("\n",@{$dh{DOPACKAGES}})."\n";

=head1 SEE ALSO

L<debhelper(7)>

This program is a part of debhelper.

=head1 AUTHOR

Joey Hess <joeyh@debian.org>

=cut