r3266 - branches/kernel-image-2.6.11/debian

Jurij Smakov jurij-guest@costa.debian.org
Sun, 29 May 2005 20:46:15 +0000


Author: jurij-guest
Date: 2005-05-29 20:46:14 +0000 (Sun, 29 May 2005)
New Revision: 3266

Modified:
   branches/kernel-image-2.6.11/debian/rules
Log:
Minor cleanups


Modified: branches/kernel-image-2.6.11/debian/rules
===================================================================
--- branches/kernel-image-2.6.11/debian/rules	2005-05-29 17:49:40 UTC (rev 3265)
+++ branches/kernel-image-2.6.11/debian/rules	2005-05-29 20:46:14 UTC (rev 3266)
@@ -28,8 +28,7 @@
 ifndef subarchs
   subarchs := $(shell find debian/arch/$(karch) \
                            -type d -mindepth 1 -maxdepth 1 \
-                           ! -name '.svn' ! -name 'patches' \
-                           -printf '%f\n')
+                           ! -name '.svn' -printf '%f\n')
 endif
 ifeq (,$(subarchs))
   subarchs := none
@@ -112,15 +111,12 @@
 pbase := /usr/src/linux-patches/all/$(version)
 pfull := debian/$(ppkg)$(pbase)
 pdirs := $(pbase) $(pbase)/apply $(pbase)/debian $(pbase)/unpatch
-pdirs += $(pbase)/debian/series
 patch-debian: debian/patch-debian-stamp
 debian/patch-debian-stamp: debian/bin/apply debian/bin/unpatch
 	dh_testdir
 	dh_testroot
 	dh_installdirs -p$(ppkg) $(pdirs)
 	dh_install -p$(ppkg) debian/patches/* $(pbase)/debian
-#	Compatibility symlink
-	dh_link -p$(ppkg) /usr/src/linux-patches /usr/src/kernel-patches
 	sed 's/@version@/$(release)/g' debian/bin/apply > $(pfull)/apply/debian
 	sed 's/@upstream@/$(version)/g' debian/bin/unpatch > $(pfull)/unpatch/debian
 	chmod a+x $(pfull)/apply/debian $(pfull)/unpatch/debian