[kernel] r5349 - dists/trunk/linux-2.6/debian
Bastian Blank
waldi at costa.debian.org
Sun Jan 8 14:39:21 UTC 2006
Author: waldi
Date: Sun Jan 8 14:39:20 2006
New Revision: 5349
Modified:
dists/trunk/linux-2.6/debian/rules
Log:
debian/rules: Use prepatched sources for config check.
Modified: dists/trunk/linux-2.6/debian/rules
==============================================================================
--- dists/trunk/linux-2.6/debian/rules (original)
+++ dists/trunk/linux-2.6/debian/rules Sun Jan 8 14:39:20 2006
@@ -88,23 +88,13 @@
#
CheckConfs_DIR := $(CURDIR)/debian/build/check
-CheckConfs_srcfiles := $(filter-out debian, $(wildcard *))
-CheckConfs_SOURCE_VERSION := ${shell a=`head -n 1 debian/changelog`; a=$${a%%\)*}; a=$${a\#\#*\(}; echo $$a}
-CheckConfs_REVISIONS := ${shell a=$(CheckConfs_SOURCE_VERSION); a=$${a\#\#*-}; b=1; while [ $$b -lt $$a ]; do echo -n "$$b "; b=$$(($$b+1)); done; echo $$b}
-$(CheckConfs_DIR) source-configs:
+$(CheckConfs_DIR) source-configs: setup
rm -rf '$(CheckConfs_DIR)'
mkdir -p '$(CheckConfs_DIR)'
- cp -al $(CheckConfs_srcfiles) $(CheckConfs_DIR)
+ cp -al debian/build/source $(CheckConfs_DIR)
-patch-configs: $(CheckConfs_DIR)
- cd '$(CheckConfs_DIR)'; python2.4 '$(CURDIR)/debian/bin/apply.py' \
- --overwrite-home='$(CURDIR)/debian/patches' \
- --overwrite-source='$(CheckConfs_SOURCE_VERSION)' \
- --overwrite-revisions='$(CheckConfs_REVISIONS)' \
-
-
-check-configs: patch-configs
+check-configs:
@echo "Checking all configuration files"
ocaml debian/bin/kconfig.ml -c -b "debian/arch"
More information about the Kernel-svn-changes
mailing list