From edb5a726949c487d31fee1d76f92de9d28c979c5 Mon Sep 17 00:00:00 2001
From: Guillem Jover
Date: Fri, 19 Jun 2009 19:05:17 -0700
Subject: [PATCH] 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.
---
policy.sgml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
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.
--
2.39.2