From: Coywolf Qi Hunt <coywolf@greatcn.org>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, kai@germaschewski.name, sam@ravnborg.org
Subject: [PATCH] [BUG FIX] kbuild distclean srctree fix
Date: Wed, 16 Jun 2004 21:48:57 +0800 [thread overview]
Message-ID: <40D04FC9.6080204@greatcn.org> (raw)
Hello all,
I just find a bug that ``make distclean'' cannot remove the editor
backup files and the like when using build directory.
That is because the find command is improperly searching the build
directory instead of the $(srctree) it should.
.
This simple patch fixes the problem.
-- coywolf
===============================================================
--- linux-2.6.7/Makefile Wed Jun 9 01:07:00 2004
+++ linux-2.6.7-cy/Makefile Wed Jun 16 21:33:57 2004
@@ -841,7 +841,7 @@ mrproper: clean archmrproper $(mrproper-
.PHONY: distclean
distclean: mrproper
- @find . $(RCS_FIND_IGNORE) \
+ @find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -size 0 \
--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org
reply other threads:[~2004-06-16 13:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40D04FC9.6080204@greatcn.org \
--to=coywolf@greatcn.org \
--cc=akpm@osdl.org \
--cc=kai@germaschewski.name \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.