r8040 - /packages/nvidia-graphics-drivers/branches/396/debian/rules

anbe at users.alioth.debian.org anbe at users.alioth.debian.org
Fri May 4 11:00:19 BST 2018


Author: anbe
Date: Fri May  4 10:00:16 2018
New Revision: 8040

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=8040
Log:
generate tarballs for driver architectures only

Modified:
    packages/nvidia-graphics-drivers/branches/396/debian/rules

Modified: packages/nvidia-graphics-drivers/branches/396/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/branches/396/debian/rules?rev=8040&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/branches/396/debian/rules	(original)
+++ packages/nvidia-graphics-drivers/branches/396/debian/rules	Fri May  4 10:00:16 2018
@@ -36,6 +36,7 @@
 legacy_description	 = $(if $(NVIDIA_LEGACY), ($(NVIDIA_LEGACY)xx legacy version))
 legacy_description_short = $(if $(NVIDIA_LEGACY), ($(NVIDIA_LEGACY)xx legacy))
 watch_pattern		 = $(or $(WATCH_PATTERN),$(if $(WATCH_VERSION),$(WATCH_VERSION)(?:\.[\d\.\-]+)?),[\d\.\-]+)
+DRIVER_ARCH_LIST	 = $(filter-out $(NO_DRIVER_ARCH_LIST),$(ARCH_LIST))
 
 # this needs the internal names (i.e. upstream's names, not our renamed files)
 unload_modules		 =
@@ -443,8 +444,8 @@
 	    touch $(call get_tarball,$*) -r $(call get_origdir,$*).stamp
 	mv get-orig-source/$(call get_tarball,$*) .
 
-get-orig-source-files/empty: get-orig-source-prepare/empty $(foreach a,$(ARCH_LIST),get-orig-source-pack/$a)
-	touch get-orig-source/$(call get_origdir,empty).stamp -r $$(ls -tr $(foreach a,$(ARCH_LIST),$(call get_tarball,$a)) | tail -n 1)
+get-orig-source-files/empty: get-orig-source-prepare/empty $(foreach a,$(DRIVER_ARCH_LIST),get-orig-source-pack/$a)
+	touch get-orig-source/$(call get_origdir,empty).stamp -r $$(ls -tr $(foreach a,$(DRIVER_ARCH_LIST),$(call get_tarball,$a)) | tail -n 1)
 
 .PHONY: get-orig-source
 get-orig-source: get-orig-source-pack/empty




More information about the pkg-nvidia-devel mailing list