Man page - dpkg-buildapi(1)
Packages contas this manual
- deb-control(5)
- dpkg-vendor(1)
- deb-changelog(5)
- deb(5)
- dpkg-checkbuilddeps(1)
- deb-triggers(5)
- deb-old(5)
- deb-override(5)
- dpkg-buildflags(1)
- deb-changes(5)
- deb-shlibs(5)
- deb-conffiles(5)
- deb-symbols(5)
- dpkg-distaddfile(1)
- deb-preinst(5)
- dpkg-mergechangelogs(1)
- deb-buildinfo(5)
- dpkg-genbuildinfo(1)
- deb-postrm(5)
- dpkg-genchanges(1)
- dpkg-buildapi(1)
- dpkg-buildpackage(1)
- deb-split(5)
- deb-postinst(5)
- deb-version(7)
- deb-src-control(5)
- dpkg-architecture(1)
- dpkg-scanpackages(1)
- deb-src-symbols(5)
- dpkg-source(1)
- dpkg-gencontrol(1)
- deb-md5sums(5)
- dsc(5)
- dpkg-parsechangelog(1)
- dpkg-buildtree(1)
- dpkg-build-api(7)
- deb-prerm(5)
- deb-extra-override(5)
- deb822(5)
- deb-src-rules(5)
- dpkg-gensymbols(1)
- deb-src-files(5)
- dpkg-shlibdeps(1)
- dpkg-name(1)
- dpkg-scansources(1)
- deb-substvars(5)
- deb-origin(5)
Package: dpkg-dev
apt-get install dpkg-dev
apt-get install dpkg-dev
Manuals in package:
Available languages:
en pt nl sv deManual
| dpkg-buildapi(1) | dpkg suite | dpkg-buildapi(1) |
NAME
dpkg-buildapi - returns the build API level to use during package build
SYNOPSIS
dpkg-buildapi [option...] [command]
DESCRIPTION
dpkg-buildapi is a tool to retrieve the dpkg-build-api(7) level to use during build of source Debian packages.
This program was introduced in dpkg 1.22.0.
COMMANDS
OPTIONS
- -ccontrol-file
- Specifies the main source control file to read information from. The default is debian/control.
ENVIRONMENT
- DPKG_BUILD_API
- The build API level to use. This is intended to be used internally by the tools executed from debian/rules to avoid having to parse debian/control multiple times, and not to set the global build API level from debian/rules, otherwise build drivers (such as dpkg-buildpackage(1)) cannot access it.
- DPKG_COLORS
- Sets the color mode. The currently accepted values are: auto (default), always and never.
- DPKG_NLS
- If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support. The accepted values are: 0 and 1 (default).
FILES
Packaging support
- /usr/share/dpkg/buildapi.mk
- Makefile snippet that parses the build API level into a variable.
| 2026-03-06 | 1.22.22 |