[pkg-nvidia-devel] r970 - /packages/nvidia-graphics-drivers/trunk/debian/rules
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Mon May 31 21:11:50 UTC 2010
Author: anbe-guest
Date: Mon May 31 21:11:43 2010
New Revision: 970
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=970
Log:
simplify legacy configuration
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=970&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Mon May 31 21:11:43 2010
@@ -7,8 +7,8 @@
include debian/rules.defs
version = $(NVIDIA_RELEASE)
-legacy = $(NVIDIA_LEGACY)
-watch_pattern = $(or $(WATCH_PATTERN),$(if $(legacy),$(patsubst -legacy-%xx,%,$(legacy))\.[\d\.\-]+),[\d\.\-]+)
+legacy = $(if $(NVIDIA_LEGACY),-legacy-$(NVIDIA_LEGACY)xx)
+watch_pattern = $(or $(WATCH_PATTERN),$(if $(NVIDIA_LEGACY),$(NVIDIA_LEGACY)\.[\d\.\-]+),[\d\.\-]+)
url_x86 = $(NVIDIA_URL_X86)
url_x86_64 = $(NVIDIA_URL_X86_64)
filename_x86 = $(NVIDIA_FILENAME_X86)
@@ -135,7 +135,7 @@
override_dh_gencontrol:
dh_gencontrol -- -V'nvidia:Version=$(version)' -V'nvidia:Legacy=$(legacy)' \
- -V'nvidia:LegacyDesc=$(if $(legacy), ($(subst -legacy-,,$(legacy)) legacy version))'
+ -V'nvidia:LegacyDesc=$(if $(NVIDIA_LEGACY), ($(NVIDIA_LEGACY)xx legacy version))'
# Do not run dh_strip here. The NVIDIA license says:
#
More information about the Pkg-nvidia-devel
mailing list