From: Mikael Pettersson <mikpe@csd.uu.se>
To: kai@tp1.ruhr-uni-bochum.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.44 mrproper removes editor backup files
Date: Sun, 20 Oct 2002 20:01:54 +0200 (MET DST) [thread overview]
Message-ID: <200210201801.UAA22227@harpo.it.uu.se> (raw)
Contrary to years of history and several explicit comments in
Makefile that mrproper != distclean, 2.5.44 merged the two
which causes mrproper to incorrectly remove editor backup files.
Suggested fix below -- works for me.
/Mikael
--- linux-2.5.44/Makefile.~1~ 2002-10-20 18:51:07.000000000 +0200
+++ linux-2.5.44/Makefile 2002-10-20 19:36:20.000000000 +0200
@@ -712,7 +712,11 @@
#
quiet_cmd_mrproper = RM $$(MRPROPER_DIRS) + $$(MRPROPER_FILES)
cmd_mrproper = rm -rf $(MRPROPER_DIRS) && rm -f $(MRPROPER_FILES)
-mrproper distclean: clean archmrproper
+mrproper: clean archmrproper
+ @echo ' Making $@ in the srctree'
+ $(call cmd,mrproper)
+
+distclean: mrproper
@echo ' Making $@ in the srctree'
@find . $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
@@ -720,7 +724,6 @@
-o -name '.*.rej' -o -size 0 \
-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
-type f -print | xargs rm -f
- $(call cmd,mrproper)
# Generate tags for editors
# ---------------------------------------------------------------------------
next reply other threads:[~2002-10-20 17:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-20 18:01 Mikael Pettersson [this message]
2002-10-20 18:27 ` Sam Ravnborg
2002-10-20 20:36 Mikael Pettersson
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=200210201801.UAA22227@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome