Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Remove toplevel build subdir in make distclean
@ 2003-04-27 23:43 Daniel Jacobowitz
  2003-04-28 15:32 ` DJ Delorie
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-04-27 23:43 UTC (permalink / raw)
  To: gcc-patches; +Cc: binutils, gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Remove toplevel build subdir in make distclean
  2003-04-27 23:43 Remove toplevel build subdir in make distclean Daniel Jacobowitz
@ 2003-04-28 15:32 ` DJ Delorie
  0 siblings, 0 replies; 2+ messages in thread
From: DJ Delorie @ 2003-04-28 15:32 UTC (permalink / raw)
  To: drow; +Cc: gcc-patches, binutils, gdb-patches


> 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	* Makefile.tpl: Clean $(BUILD_SUBDIR).
> 	* Makefile.in: Regenerated.

Ok.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-27 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 23:43 Remove toplevel build subdir in make distclean Daniel Jacobowitz
2003-04-28 15:32 ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox