man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands
commit3e430c1f2fdf4b27ca4050ea4cb53dfec7206d76
authorGuillem Jover <guillem@debian.org>
Tue, 2 Apr 2024 00:40:48 +0000 (2 02:40 +0200)
committerGuillem Jover <guillem@debian.org>
Tue, 2 Apr 2024 00:43:38 +0000 (2 02:43 +0200)
tree94753c67f64310b0b68bdea53d2670c40b63dc77
parent54a6ad9db3da335a40fed9020195864c4a87bdc1
man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands

These variables affect the operation of several tools in the dpkg
toolset. Make this clear in the ENVIRONMENT section for these tools
as otherwise it is not obvious how to modify these values, for
example when wanting to enable cross-compilation mode, or when
wanting to operate on foreign architectures.

Prompted-by: Thorsten Glaser <tg@mirbsd.de>
man/dpkg-buildflags.pod
man/dpkg-checkbuilddeps.pod
man/dpkg-genbuildinfo.pod
man/dpkg-genchanges.pod
man/dpkg-gencontrol.pod
man/dpkg-gensymbols.pod
man/dpkg-name.pod
man/dpkg-shlibdeps.pod