From: Nathanael Nerode <neroden@twcny.rr.com>
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
Date: Tue, 04 Mar 2003 17:16:00 -0000 [thread overview]
Message-ID: <20030304171633.GA406@doctormoo> (raw)
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="."; \
next reply other threads:[~2003-03-04 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 17:16 Nathanael Nerode [this message]
2003-03-04 18:13 ` Alexandre Oliva
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=20030304171633.GA406@doctormoo \
--to=neroden@twcny.rr.com \
--cc=aoliva@redhat.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