This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=24287281f6f0ecd3191adbae287410e00dd2c586

commit 24287281f6f0ecd3191adbae287410e00dd2c586
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Apr 13 04:42:57 2024 +0200

    man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring them
    
    The dpkg-buildapi and dpkg-buildtree scripts honor these environment
    variables by way of the Dpkg::ErrorHandling and Dpkg::Gettext modules,
    but that was not documented in the manual pages.
---
 man/dpkg-buildapi.pod  | 12 ++++++++++++
 man/dpkg-buildtree.pod | 18 ++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/man/dpkg-buildapi.pod b/man/dpkg-buildapi.pod
index 49c8d477a..84c519c2a 100644
--- a/man/dpkg-buildapi.pod
+++ b/man/dpkg-buildapi.pod
@@ -69,6 +69,18 @@ F<debian/rules> to avoid having to parse F<debian/control> 
multiple times,
 and not to set the global build API level from F<debian/rules>,
 otherwise build drivers (such as L<dpkg-buildpackage(1)>) cannot access it.
 
+=item B<DPKG_COLORS>
+
+Sets the color mode.
+The currently accepted values are: B<auto> (default), B<always> and
+B<never>.
+
+=item B<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: B<0> and B<1> (default).
+
 =back
 
 =head1 FILES
diff --git a/man/dpkg-buildtree.pod b/man/dpkg-buildtree.pod
index 660ebb0f1..0e03cc3e8 100644
--- a/man/dpkg-buildtree.pod
+++ b/man/dpkg-buildtree.pod
@@ -55,6 +55,24 @@ Show the version and exit.
 
 =back
 
+=head1 ENVIRONMENT
+
+=over
+
+=item B<DPKG_COLORS>
+
+Sets the color mode.
+The currently accepted values are: B<auto> (default), B<always> and
+B<never>.
+
+=item B<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: B<0> and B<1> (default).
+
+=back
+
 =head1 FILES
 
 =head2 Cleaned files

-- 
Dpkg.Org's dpkg

Reply via email to