From: Guillem Jover Date: Sat, 20 Jun 2009 02:05:17 +0000 (-0700) Subject: Update information about DEB_*_ARCH variables X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=edb5a726949c487d31fee1d76f92de9d28c979c5;p=debian%2Fdebian-policy.git Update information about DEB_*_ARCH variables Recommend using the DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables instead of the GNU style ones. And mention that the latter are mostly intended for use with upstream build systems, and not Debian packaging. --- diff --git a/policy.sgml b/policy.sgml index 0a924f7..6a62674 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1985,6 +1985,12 @@ DEB_*_ARCH (the Debian architecture) + + DEB_*_ARCH_CPU (the Debian CPU name) + + + DEB_*_ARCH_OS (the Debian System name) + DEB_*_GNU_TYPE (the GNU style architecture specification string) @@ -2013,8 +2019,10 @@ It is important to understand that the DEB_*_ARCH string only determines which Debian architecture we are building on or for. It should not be used to get the CPU - or system information; the GNU style variables should be - used for that. + or system information; the DEB_*_ARCH_CPU and + DEB_*_ARCH_OS variables should be used for that. + GNU style variables should generally only be used with upstream + build systems.