[pkg-nvidia-devel] r1235 - /packages/nvidia-graphics-drivers/trunk/debian/rules

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Thu Jul 1 11:25:43 UTC 2010


Author: anbe-guest
Date: Thu Jul  1 11:25:41 2010
New Revision: 1235

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1235
Log:
use a variable for the legacy_description string, too, to allow easier overriding

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

Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=1235&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Thu Jul  1 11:25:41 2010
@@ -8,6 +8,7 @@
 include debian/rules.defs
 version			 = $(NVIDIA_RELEASE)
 legacy			 = $(if $(NVIDIA_LEGACY),-legacy-$(NVIDIA_LEGACY)xx)
+legacy_description	 = $(if $(NVIDIA_LEGACY), ($(NVIDIA_LEGACY)xx legacy version))
 watch_pattern		 = $(or $(WATCH_PATTERN),$(if $(NVIDIA_LEGACY),$(NVIDIA_LEGACY)\.[\d\.\-]+),[\d\.\-]+)
 filename_x86		 = $(NVIDIA_FILENAME_X86)
 filename_x86_64		 = $(NVIDIA_FILENAME_X86_64)
@@ -177,7 +178,7 @@
 
 override_dh_gencontrol:
 	dh_gencontrol -- -V'nvidia:Version=$(version)' -V'nvidia:Legacy=$(legacy)' \
-		-V'nvidia:LegacyDesc=$(if $(NVIDIA_LEGACY), ($(NVIDIA_LEGACY)xx legacy version))'
+		-V'nvidia:LegacyDesc=$(legacy_description)'
 
 # Do not run dh_strip here.  The NVIDIA license says:
 #




More information about the Pkg-nvidia-devel mailing list