Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [RFA] Makefile.in (clean): rm -f $(DEPDIR)/*.
Date: Mon, 02 Mar 2009 00:10:00 -0000	[thread overview]
Message-ID: <20090302001039.161241C7A1E@localhost> (raw)

Hi.

IWBN if "make clean" cleared out .deps/*.

Otherwise when something gets moved then dependencies still refer to
the old place and require the equivalent of a "make distclean"
to get make working again (which is a bit heavyweight).
IWBN if "make clean" was sufficient.

Ok to check in?

2009-03-01  Doug Evans  <dje@google.com>

	* Makefile.in (clean): rm -f $(DEPDIR)/*.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1068
diff -u -p -r1.1068 Makefile.in
--- Makefile.in	17 Feb 2009 17:56:50 -0000	1.1068
+++ Makefile.in	2 Mar 2009 00:05:29 -0000
@@ -1124,6 +1124,7 @@ clean mostlyclean: $(CONFIG_CLEAN)
 	rm -f gdb[0-9]$(EXEEXT)
 	rm -f test-cp-name-parser$(EXEEXT)
 	rm -f xml-builtin.c stamp-xml
+	rm -f $(DEPDIR)/*
 
 .PHONY: clean-tui
 clean-tui:


             reply	other threads:[~2009-03-02  0:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02  0:10 Doug Evans [this message]
2009-03-02  0:55 ` Tom Tromey
2009-03-02  0:58   ` Doug Evans
2009-03-02  1:06     ` Tom Tromey
2009-03-02 16:31       ` Doug Evans
2009-03-02 17:16         ` Tom Tromey

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=20090302001039.161241C7A1E@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.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