[pkg-nvidia-devel] r1308 - in /packages/nvidia-graphics-drivers-legacy-71xx/trunk: debian.binary/ debian/

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Mon Jul 5 23:57:13 UTC 2010


Author: anbe-guest
Date: Mon Jul  5 23:57:13 2010
New Revision: 1308

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1308
Log:
do not keep generated control files in the repository

Removed:
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian.binary/changelog
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/copyright.in
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.links
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.preinst
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-ia32.links
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-ia32.override
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.docs
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.examples
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.init
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.links
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.override
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx.postrm
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-kernel-legacy-71xx-source.README.Debian
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-kernel-legacy-71xx-source.docs
Modified:
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/changelog
    packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/rules

Modified: packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/changelog?rev=1308&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/changelog Mon Jul  5 23:57:13 2010
@@ -2,6 +2,7 @@
 
   [ Andreas Beckmann ]
   * add missing Build-Depends: libxext6, fixes FTBFS
+  * do not keep generated control files in the repository
 
  -- Andreas Beckmann <debian at abeckmann.de>  Tue, 06 Jul 2010 01:30:44 +0200
 

Modified: packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/rules?rev=1308&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/rules Mon Jul  5 23:57:13 2010
@@ -22,15 +22,11 @@
 dirname:=$(shell sh debian/upstream_info DIRNAME)
 filename:=$(shell sh debian/upstream_info FILENAME)
 
-AUTOGEN=debian/nvidia-kernel-legacy-71xx-source.README.Debian debian/control \
-debian/copyright debian/nvidia-glx-legacy-71xx.links debian/nvidia-glx-legacy-71xx-dev.links \
-debian/nvidia-glx-legacy-71xx.override debian/nvidia-glx-legacy-71xx.docs debian/nvidia-glx-legacy-71xx.examples \
-debian/nvidia-glx-legacy-71xx.postrm debian/nvidia-glx-legacy-71xx.init \
-debian/nvidia-glx-legacy-71xx-ia32.override debian/nvidia-glx-legacy-71xx-ia32.links \
-debian/nvidia-kernel-legacy-71xx-source.docs debian/nvidia-glx-legacy-71xx-dev.preinst
-
-
-
+TEMPLATES	:= $(wildcard debian/*.in debian/module/debian/*.in)
+AUTOGEN		+= $(patsubst %.in,%,$(TEMPLATES))
+AUTOGEN		+= debian.binary/changelog
+AUTOKEEP	 = debian/control
+AUTOCLEAN	 = $(filter-out $(AUTOKEEP),$(AUTOGEN))
 
 
 CFLAGS = -Wall -g
@@ -62,10 +58,6 @@
 #			do patch -p3 <$$i; \
 #		done; \
 #	fi
-
-	sed 's/^nvidia-graphics-drivers-legacy-71xx/nvidia-kernel-legacy-71xx/g'  debian/changelog > debian.binary/changelog
-
-
 	touch configure-stamp
 
 .PHONY: build
@@ -114,7 +106,8 @@
 	dh_clean 
 
 	rm -fr $(dirname)  nvidia-kernel-legacy-71xx-source.tar.gz
-
+	rm -f $(AUTOCLEAN)
+	$(MAKE) -f debian/rules $(AUTOKEEP)
 
 
 .PHONY: install
@@ -250,6 +243,9 @@
 	-e 's{#URL#}{$(url)}g' \
 	< $< > $@
 
+debian.binary/changelog: debian/changelog
+	sed '1s/^nvidia-graphics-drivers/nvidia-kernel/g' $< > $@
+
 
 # Build architecture dependant packages using the common target.
 .PHONY: binary-arch




More information about the Pkg-nvidia-devel mailing list