Man page - dpkg-buildapi(1)
Packages contains this manual
- deb822(5)
- dpkg-vendor(1)
- deb-symbols(5)
- deb-src-rules(5)
- dpkg-mergechangelogs(1)
- dsc(5)
- deb-src-control(5)
- dpkg-shlibdeps(1)
- dpkg-genbuildinfo(1)
- dpkg-scanpackages(1)
- deb-substvars(5)
- dpkg-parsechangelog(1)
- dpkg-architecture(1)
- deb-triggers(5)
- deb-changelog(5)
- deb-extra-override(5)
- deb-buildinfo(5)
- dpkg-buildpackage(1)
- dpkg-distaddfile(1)
- dpkg-gencontrol(1)
- dpkg-buildtree(1)
- deb-postrm(5)
- deb-version(7)
- deb-prerm(5)
- deb-preinst(5)
- deb-src-files(5)
- dpkg-buildapi(1)
- dpkg-checkbuilddeps(1)
- deb-src-symbols(5)
- deb-old(5)
- dpkg-source(1)
- deb-changes(5)
- deb-origin(5)
- dpkg-buildflags(1)
- deb-override(5)
- deb(5)
- dpkg-scansources(1)
- deb-control(5)
- deb-split(5)
- deb-shlibs(5)
- dpkg-build-api(7)
- deb-postinst(5)
- deb-conffiles(5)
- dpkg-genchanges(1)
- dpkg-gensymbols(1)
- dpkg-name(1)
- deb-md5sums(5)
apt-get install dpkg-dev
Available languages:
en pt nl sv deManual
dpkg-buildapi
NAMESYNOPSIS
DESCRIPTION
COMMANDS
OPTIONS
ENVIRONMENT
FILES
Packaging support
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
--help
Show the usage message and exit.
--version
Show the version and exit.
OPTIONS
-c control-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.