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

rra at users.alioth.debian.org rra at users.alioth.debian.org
Sun Apr 25 04:53:17 UTC 2010


Author: rra
Date: Sun Apr 25 04:53:12 2010
New Revision: 835

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=835
Log:
Automatically generate list of template files to substitute

[ Andreas Beckmann ]
* debian/rules: generate most parts of the AUTOGEN list automatically

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=835&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Sun Apr 25 04:53:12 2010
@@ -81,6 +81,7 @@
   * debian.binary/patches/select-nv-kernel.o.ARCH.patch: add new patch instead
     of editing files with sed when creating the tarball
   * update lintian overrides
+  * debian/rules: generate most parts of the AUTOGEN list automatically
 
  -- Russ Allbery <rra at debian.org>  Sat, 24 Apr 2010 20:35:20 -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=835&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Sun Apr 25 04:53:12 2010
@@ -13,34 +13,14 @@
 dirname_x86		:= $(shell sh debian/upstream_info DIRNAME_X86)
 dirname_x86_64		:= $(shell sh debian/upstream_info DIRNAME_X86_64)
 
-AUTOGEN		 = $(AUTOKEEP) $(AUTOCLEAN)
+TEMPLATES	:= $(wildcard debian/*.in)
+AUTOGEN		+= $(patsubst %.in,%,$(TEMPLATES))
+AUTOGEN		+= debian/libcuda1-ia32.symbols
+AUTOGEN		+= debian/nvidia-libvdpau1-ia32.symbols
+AUTOGEN		+= debian.binary/control.template
+AUTOGEN		+= debian.binary/changelog
 AUTOKEEP	 = debian/copyright
-AUTOCLEAN	 = \
-debian/nvidia-glx.install \
-debian/nvidia-glx.links \
-debian/nvidia-glx.init \
-debian/nvidia-glx.postrm \
-debian/nvidia-glx-ia32.install \
-debian/nvidia-glx-ia32.links \
-debian/nvidia-glx-dev.install \
-debian/nvidia-kernel-source.README.Debian \
-debian/libcuda1.install \
-debian/libcuda1.links \
-debian/libcuda1-ia32.install \
-debian/libcuda1-ia32.links \
-debian/libcuda1-ia32.symbols \
-debian/nvidia-libvdpau-dev.install \
-debian/nvidia-libvdpau1.install \
-debian/nvidia-libvdpau1.links \
-debian/nvidia-libvdpau1-ia32.install \
-debian/nvidia-libvdpau1-ia32.links \
-debian/nvidia-libvdpau1-ia32.symbols \
-debian/nvidia-vdpau-driver.install \
-debian/nvidia-vdpau-driver.links \
-debian/nvidia-vdpau-driver-ia32.install \
-debian/nvidia-vdpau-driver-ia32.links \
-debian.binary/control.template \
-debian.binary/changelog
+AUTOCLEAN	 = $(filter-out $(AUTOKEEP),$(AUTOGEN))
 
 
 .PHONY: autogen configure




More information about the Pkg-nvidia-devel mailing list