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

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Fri May 21 12:25:29 UTC 2010


Author: anbe-guest
Date: Fri May 21 12:25:26 2010
New Revision: 921

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=921
Log:
add new substitution placeholders #!i386#, #!amd64# that are substituted with '#' on the respective architecture and '' elsewhere

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=921&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Fri May 21 12:25:26 2010
@@ -26,6 +26,8 @@
   * debian/nvidia-{glx,kernel}*.in: add #LEGACY# where appropriate
   * debian/rules: automatically rename control files when building legacy
     packages
+  * debian/rules: add new substitution placeholders #!i386#, #!amd64# that are
+    substituted with '#' on the respective architecture and '' elsewhere
 
   [ Jordi Pujol ]
   * simplify installation by using debian/tmp as intermediate directory

Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=921&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Fri May 21 12:25:26 2010
@@ -158,6 +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;' \
 	< $< > $@
 
 debian/module/debian/changelog: debian/changelog




More information about the Pkg-nvidia-devel mailing list