Re: [PATCH] remove build directories on clean
Ben Hutchings <ben@decadent.org.uk> writes:
> On Mon, 2010-11-15 at 12:55 +0200, Timo Juhani Lindfors wrote:
>> Ben Hutchings <ben@decadent.org.uk> writes:
>> > However, the same applies to several other package names that change
>> > with the upstream version number: linux-source-<version>,
>> > linux-doc-<version>, linux-manual-<version> and
>> > linux-patch-debian-<version>. I think perhaps we should remove those
>> > with wildcards as well.
Here's a new patch that removes more than just linux-support-*:
Index: linux-2.6/debian/rules
===================================================================
--- linux-2.6/debian/rules (revision 16542)
+++ linux-2.6/debian/rules (working copy)
@@ -56,7 +56,7 @@
clean: debian/control
dh_testdir
- rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc debian/linux-headers-* debian/linux-image-* debian/linux-tools-*
+ rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc debian/linux-headers-* debian/linux-image-* debian/linux-tools-* debian/linux-support-* debian/linux-source-* debian/linux-doc-* debian/linux-manual-* debian/linux-patch-debian-*
dh_clean
binary-indep: $(STAMPS_DIR)/source-base
Reply to: