From: Daniel Jacobowitz <drow@mvista.com>
To: gcc-patches@gcc.gnu.org
Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Remove toplevel build subdir in make distclean
Date: Sun, 27 Apr 2003 23:43:00 -0000 [thread overview]
Message-ID: <20030427203308.GA30817@nevyn.them.org> (raw)
When BUILD_SUBDIR was introduced, it wasn't added to local-distclean in the
top level; so a build-sun4/ directory has started showing up in my work
directory after making a binutils snapshot. Any objection to this patch?
It doesn't need the "." check above; configure.in makes sure that
build_subdir will always start with "build-".
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-04-27 Daniel Jacobowitz <drow@mvista.com>
* Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.124
diff -u -p -r1.124 Makefile.in
--- Makefile.in 19 Apr 2003 00:19:40 -0000 1.124
+++ Makefile.in 27 Apr 2003 20:29:36 -0000
@@ -1112,6 +1112,7 @@ local-distclean:
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
rm -rf $(TARGET_SUBDIR); \
else true; fi
+ -rm -rf $(BUILD_SUBDIR)
-rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
-rm -f texinfo/doc/Makefile texinfo/po/POTFILES
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
Index: Makefile.tpl
===================================================================
RCS file: /cvs/src/src/Makefile.tpl,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile.tpl
--- Makefile.tpl 19 Apr 2003 00:19:40 -0000 1.56
+++ Makefile.tpl 27 Apr 2003 20:29:36 -0000
@@ -672,6 +672,7 @@ local-distclean:
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
rm -rf $(TARGET_SUBDIR); \
else true; fi
+ -rm -rf $(BUILD_SUBDIR)
-rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
-rm -f texinfo/doc/Makefile texinfo/po/POTFILES
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
next reply other threads:[~2003-04-27 20:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-27 23:43 Daniel Jacobowitz [this message]
2003-04-28 15:32 ` DJ Delorie
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=20030427203308.GA30817@nevyn.them.org \
--to=drow@mvista.com \
--cc=binutils@sources.redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sources.redhat.com \
/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