[pkg-nvidia-devel] r1188 - in /packages/nvidia-graphics-drivers-legacy-96xx/trunk: debian.binary/ debian/
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Mon Jun 28 00:53:48 UTC 2010
Author: anbe-guest
Date: Mon Jun 28 00:53:48 2010
New Revision: 1188
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1188
Log:
do not ship generated files in the source package
Removed:
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian.binary/changelog
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx-dev.links
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx-dev.preinst
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx-ia32.links
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx-ia32.override
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.docs
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.examples
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.init
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.links
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.override
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-glx-legacy-96xx.postrm
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-kernel-legacy-96xx-source.README.Debian
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/nvidia-kernel-legacy-96xx-source.docs
Modified:
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/changelog
packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/rules
Modified: packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/changelog?rev=1188&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/changelog Mon Jun 28 00:53:48 2010
@@ -6,6 +6,7 @@
- remove old cruft
- drop ancient patches and unused patch systems
- use substvars instead of generating debian/control
+ - do not ship generated files in the source package
-- Andreas Beckmann <debian at abeckmann.de> Mon, 28 Jun 2010 01:29:49 +0200
Modified: packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/rules?rev=1188&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers-legacy-96xx/trunk/debian/rules Mon Jun 28 00:53:48 2010
@@ -28,15 +28,11 @@
dirname_x86_64:=$(shell sh debian/upstream_info DIRNAME_X86_64)
LEGACY=-legacy-96xx
-AUTOGEN=debian/nvidia-kernel$(LEGACY)-source.README.Debian \
-debian/copyright debian/nvidia-glx$(LEGACY).links debian/nvidia-glx$(LEGACY)-dev.links \
-debian/nvidia-glx$(LEGACY).override debian/nvidia-glx$(LEGACY).docs debian/nvidia-glx$(LEGACY).examples \
-debian/nvidia-glx$(LEGACY).postrm debian/nvidia-glx$(LEGACY).init \
-debian/nvidia-glx$(LEGACY)-ia32.override debian/nvidia-glx$(LEGACY)-ia32.links \
-debian/nvidia-kernel$(LEGACY)-source.docs debian/nvidia-glx$(LEGACY)-dev.preinst
-
-
-
+TEMPLATES := $(wildcard debian/*.in debian/module/debian/*.in)
+AUTOGEN += $(patsubst %.in,%,$(TEMPLATES))
+AUTOGEN += debian.binary/changelog
+AUTOKEEP = debian/copyright
+AUTOCLEAN = $(filter-out $(AUTOKEEP),$(AUTOGEN))
CFLAGS = -Wall -g
@@ -60,10 +56,6 @@
# extract both so we can fetch the kernel object code for both arches
./${filename_x86} --extract-only
./${filename_x86_64} --extract-only
-
- sed 's/^nvidia-graphics-drivers$(LEGACY)/nvidia-kernel$(LEGACY)/g' debian/changelog > debian.binary/changelog
-
-
touch configure-stamp
.PHONY: build
@@ -129,6 +121,7 @@
dh_clean
rm -fr $(dirname_x86) $(dirname_x86_64) nvidia-kernel$(LEGACY).tar.bz2
+ $(RM) $(AUTOCLEAN)
.PHONY: install
@@ -287,6 +280,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