From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19800 invoked by alias); 27 Apr 2003 20:33:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19685 invoked from network); 27 Apr 2003 20:33:10 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 27 Apr 2003 20:33:10 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 199spz-0001bE-00; Sun, 27 Apr 2003 15:33:27 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 199spg-00081y-00; Sun, 27 Apr 2003 16:33:08 -0400 Date: Sun, 27 Apr 2003 23:43:00 -0000 From: Daniel Jacobowitz To: gcc-patches@gcc.gnu.org Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Remove toplevel build subdir in make distclean Message-ID: <20030427203308.GA30817@nevyn.them.org> Mail-Followup-To: gcc-patches@gcc.gnu.org, binutils@sources.redhat.com, gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00514.txt.bz2 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 * 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