r4616 - dists/trunk/linux-2.6/debian

Bastian Blank waldi at costa.debian.org
Sun Oct 23 16:04:22 UTC 2005


Author: waldi
Date: 2005-10-23 16:04:21 +0000 (Sun, 23 Oct 2005)
New Revision: 4616

Modified:
   dists/trunk/linux-2.6/debian/rules
Log:
debian/rules
- Cleanup clean target.
- Rebuild control files in setup and clean target.


Modified: dists/trunk/linux-2.6/debian/rules
===================================================================
--- dists/trunk/linux-2.6/debian/rules	2005-10-23 16:01:15 UTC (rev 4615)
+++ dists/trunk/linux-2.6/debian/rules	2005-10-23 16:04:21 UTC (rev 4616)
@@ -11,7 +11,7 @@
 
 include debian/rules.defs
 
-setup: $(STAMPS_DIR)/setup-stamp
+setup: debian/control $(STAMPS_DIR)/setup-stamp
 $(STAMPS_DIR)/setup-stamp: $(BUILD_DIR) $(STAMPS_DIR)
 	dh_testdir
 	$(MAKE) -f debian/rules.gen setup-$(DEB_HOST_ARCH)
@@ -41,11 +41,9 @@
 maintainerclean:
 	rm -rf $(filter-out debian, $(wildcard *))
 
-clean: unpatch
+clean: debian/control
 	dh_testdir
-	rm -f version.Debian
-	cd debian; rm -f *.kpatches.arch
-	rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/*.pyc
+	rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/*.pyc debian/*.kpatches.arch
 	dh_clean
 
 binary-indep: build
@@ -85,4 +83,4 @@
 	@echo
 	exit 1
 
-.PHONY: clean build setup binary-indep binary-arch binary patch unpatch source tree
+.PHONY: clean build setup binary-indep binary-arch binary




More information about the Kernel-svn-changes mailing list