po: Update German man pages translation
[dpkg.git] / man / dpkg-buildapi.pod
blob84c519c2acd73922f95067663d688992a949b148
1 # dpkg manual page - dpkg-buildapi(1)
3 # Copyright © 2023 Guillem Jover <guillem@debian.org>
5 # This is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
18 =encoding utf8
20 =head1 NAME
22 dpkg-buildapi - returns the build API level to use during package build
24 =head1 SYNOPSIS
26 B<dpkg-buildapi> [I<option>...] [I<command>]
28 =head1 DESCRIPTION
30 B<dpkg-buildapi> is a tool to retrieve the L<dpkg-build-api(7)> level to
31 use during build of source Debian packages.
33 This program was introduced in dpkg 1.22.0.
35 =head1 COMMANDS
37 =over
39 =item B<--help>
41 Show the usage message and exit.
43 =item B<--version>
45 Show the version and exit.
47 =back
49 =head1 OPTIONS
51 =over
53 =item B<-c>I<control-file>
55 Specifies the main source control file to read information from.
56 The default is F<debian/control>.
58 =back
60 =head1 ENVIRONMENT
62 =over
64 =item B<DPKG_BUILD_API>
66 The build API level to use.
67 This is intended to be used internally by the tools executed from
68 F<debian/rules> to avoid having to parse F<debian/control> multiple times,
69 and not to set the global build API level from F<debian/rules>,
70 otherwise build drivers (such as L<dpkg-buildpackage(1)>) cannot access it.
72 =item B<DPKG_COLORS>
74 Sets the color mode.
75 The currently accepted values are: B<auto> (default), B<always> and
76 B<never>.
78 =item B<DPKG_NLS>
80 If set, it will be used to decide whether to activate Native Language Support,
81 also known as internationalization (or i18n) support.
82 The accepted values are: B<0> and B<1> (default).
84 =back
86 =head1 FILES
88 =head2 Packaging support
90 =over
92 =item B<%PKGDATADIR%/buildapi.mk>
94 Makefile snippet that will parse the build API level.
96 =back