[pkg-nvidia-devel] r946 - in /packages/nvidia-graphics-drivers/trunk/debian: changelog rules

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Sat May 29 13:17:31 UTC 2010


Author: anbe-guest
Date: Sat May 29 13:17:29 2010
New Revision: 946

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=946
Log:
debian/rules: use DEB_HOST_ARCH instead of DEB_BUILD_ARCH

Modified:
    packages/nvidia-graphics-drivers/trunk/debian/changelog
    packages/nvidia-graphics-drivers/trunk/debian/rules

Modified: packages/nvidia-graphics-drivers/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/changelog?rev=946&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Sat May 29 13:17:29 2010
@@ -10,6 +10,7 @@
   * debian/module/debian/rules: fix the clean: target to find the kernel
     config
   * nvidia-kernel-source.README.Debian: clarify and add m-a debug hint
+  * debian/rules: use DEB_HOST_ARCH instead of DEB_BUILD_ARCH
 
  -- Russ Allbery <rra at debian.org>  Wed, 26 May 2010 07:19:43 -0700
 

Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=946&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Sat May 29 13:17:29 2010
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-DEB_BUILD_ARCH		?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH		?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 include debian/rules.defs
 version			 = $(NVIDIA_RELEASE)
@@ -72,7 +72,7 @@
 #  - dkms
 override_dh_auto_install:
 	# "Install" into debian/tmp.
-	cp -al NVIDIA-Linux-$(DEB_BUILD_ARCH)/ debian/tmp
+	cp -al NVIDIA-Linux-$(DEB_HOST_ARCH)/ debian/tmp
 
 	# Build the nvidia-kernel-source tree.
 	mkdir -p $(module_source)
@@ -158,8 +158,8 @@
 	-e 's{#LEGACY#}{$(legacy)}g;' \
 	-e 's{#URL_X86#}{$(url_x86)}g;' \
 	-e 's{#URL_X86_64#}{$(url_x86_64)}g;' \
-	-e 's{#!i386#}{$(if $(filter i386,$(DEB_BUILD_ARCH)),#)}g;' \
-	-e 's{#!amd64#}{$(if $(filter amd64,$(DEB_BUILD_ARCH)),#)}g;' \
+	-e 's{#!i386#}{$(if $(filter i386,$(DEB_HOST_ARCH)),#)}g;' \
+	-e 's{#!amd64#}{$(if $(filter amd64,$(DEB_HOST_ARCH)),#)}g;' \
 	< $< > $@
 
 debian/module/debian/changelog: debian/changelog




More information about the Pkg-nvidia-devel mailing list