From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16654 invoked by alias); 4 Mar 2003 17:16:44 -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 16637 invoked from network); 4 Mar 2003 17:16:43 -0000 Received: from unknown (HELO ms-smtp-01.nyroc.rr.com) (24.92.226.148) by 172.16.49.205 with SMTP; 4 Mar 2003 17:16:43 -0000 Received: from doctormoo (syr-24-24-17-145.twcny.rr.com [24.24.17.145]) by ms-smtp-01.nyroc.rr.com (8.12.5/8.12.2) with ESMTP id h24HGgb1011539; Tue, 4 Mar 2003 12:16:42 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18qG1p-00006b-00; Tue, 04 Mar 2003 12:16:33 -0500 Date: Tue, 04 Mar 2003 17:16:00 -0000 To: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com, aoliva@redhat.com Subject: Toplevel Makefile.tpl cleanup 2/n part two Message-ID: <20030304171633.GA406@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2003-03/txt/msg00097.txt.bz2 All the invocations of 'true' are, in fact, useless. * Makefile.tpl: Simplify logic. * Makefile.in: Regenerate. --- Makefile.tpl.old 2003-03-04 12:13:04.000000000 -0500 +++ Makefile.tpl 2003-03-04 12:14:26.000000000 -0500 @@ -850,19 +850,11 @@ if [ "$(BUILD_SUBDIR)" != "." ] ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \ if [ -f Makefile ]; then \ - if $(MAKE) distclean; then \ - true; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ + $(MAKE) distclean || exit 1; \ fi; \ else \ exit 1; \ fi; \ - else \ - true; \ fi; \ srcdiroption="--srcdir=."; \ libsrcdir="."; \ @@ -1040,19 +1032,11 @@ if [ "$(TARGET_SUBDIR)" != "." ] ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \ if [ -f Makefile ]; then \ - if $(MAKE) distclean; then \ - true; \ - else \ - exit 1; \ - fi; \ - else \ - true; \ + $(MAKE) distclean || exit 1; \ fi; \ else \ exit 1; \ fi; \ - else \ - true; \ fi; \ srcdiroption="--srcdir=."; \ libsrcdir="."; \