From 3fe7026d33e4c0aaf6b302b445a30f89b88daba6 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:08:09 +0000 Subject: [PATCH] Add dpkg-architecture invocation to the debian/rules file (not really needed here, but this standardizes the rules file) Author: srivasta Date: 2000/07/30 21:14:30 Add dpkg-architecture invocation to the debian/rules file (not really needed here, but this standardizes the rules file) git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-56 --- debian/rules | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index e032c4a..1969428 100755 --- a/debian/rules +++ b/debian/rules @@ -5,14 +5,27 @@ ## Created On : Thu Oct 29 15:35:55 1998 ## Created On Node : tiamat.datasync.com ## Last Modified By : Manoj Srivastava -## Last Modified On : Fri Mar 17 17:01:28 2000 +## Last Modified On : Sat Jul 29 23:17:29 2000 ## Last Machine Used: glaurung.green-gryphon.com -## Update Count : 53 +## Update Count : 55 ## Status : Unknown, Use with caution! ## HISTORY : ## Description : ## $Id$ ############################################################################### + +# set the dpkg-architecture vars +export DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) +export DEB_BUILD_GNU_CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) +export DEB_BUILD_GNU_SYSTEM:= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) +export DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +export DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) +export DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) +export DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + + + # The name of the package (for example, `emacs'). package := $(shell grep Source debian/control | sed 's/^Source: //') arch := $(shell dpkg --print-installation-architecture) @@ -90,7 +103,7 @@ stamp-build: cp /usr/share/groff/tmac/tmac.m fhs && \ cd fhs && patch -p1 < ../mm1.32-patch; \ fi - # The extra '.' in the tmac path doesn't matter if + # The extra '.' in the tmac path doesn't matter if GROFF_TMAC_PATH=. cd fhs && $(MAKE) all lynx -dump fhs-changes-2.1.html > fhs/fhs-changes-2.1.text lynx -dump upgrading-checklist.html > upgrading-checklist.text -- 2.39.5