r3830 - people/waldi/kernel/source/linux-2.6/debian
Bastian Blank
waldi at costa.debian.org
Wed Aug 10 17:35:54 UTC 2005
Author: waldi
Date: 2005-08-10 17:35:54 +0000 (Wed, 10 Aug 2005)
New Revision: 3830
Modified:
people/waldi/kernel/source/linux-2.6/debian/rules.real
Log:
debian/rules.real
- Move one rule.
- Fix permissions of source tar ball.
Closes: 322409
Modified: people/waldi/kernel/source/linux-2.6/debian/rules.real
===================================================================
--- people/waldi/kernel/source/linux-2.6/debian/rules.real 2005-08-10 15:39:14 UTC (rev 3829)
+++ people/waldi/kernel/source/linux-2.6/debian/rules.real 2005-08-10 17:35:54 UTC (rev 3830)
@@ -122,6 +122,15 @@
# Flavour config file must be present
cat $(basedir)/config.$(FLAVOUR) >> $@
+$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: SOURCE_DIR=$(BUILD_DIR)/source
+$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: DIR = $(BUILD_DIR)/linux-source-$(VERSION)
+$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: $(STAMPS_DIR)/source
+ rm -rf $@ $(DIR)
+ cp -al $(SOURCE_DIR) $(DIR)
+ chmod -R u+rw,go=rX $(DIR)
+ cd $(BUILD_DIR); tar -cjf linux-source-$(VERSION).tar.bz2 linux-source-$(VERSION)
+ rm -rf $(DIR)
+
srcfiles := $(filter-out debian, $(wildcard *))
$(STAMPS_DIR)/source: DIR=$(BUILD_DIR)/source
$(STAMPS_DIR)/source: debian/bin/apply
@@ -253,15 +262,6 @@
@for i in $$(awk '{ print $$1; }' $(DIR)/debian/files); do echo mv $(BUILD_DIR)/$$i ..; mv $(BUILD_DIR)/$$i ..; done
rm -rf $(DIR)
-$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: SOURCE_DIR=$(BUILD_DIR)/source
-$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: DIR = $(BUILD_DIR)/linux-source-$(VERSION)
-$(BUILD_DIR)/linux-source-$(VERSION).tar.bz2: $(STAMPS_DIR)/source
- rm -rf $@ $(DIR)
- cp -al $(SOURCE_DIR) $(DIR)
- cd $(BUILD_DIR); tar -cjf linux-source-$(VERSION).tar.bz2 linux-source-$(VERSION)
- rm -rf $(DIR)
-
-
install-patch: ppkg := linux-patch-debian-$(VERSION)
install-patch: pbase := /usr/src/kernel-patches/all/$(VERSION)
install-patch: pfull := debian/$(ppkg)$(pbase)
More information about the Kernel-svn-changes
mailing list