From: Nathanael Nerode <neroden@doctormoo.dyndns.org>
To: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com,
binutils@sources.redhat.com, dj@redhat.com
Subject: toplevel, more cleanup
Date: Sat, 28 Sep 2002 15:37:00 -0000 [thread overview]
Message-ID: <20020928223322.GA21873@doctormoo.dyndns.org> (raw)
Clean up substitution of SUBDIRS to be more autoconf-like. Tested, no
changes. Drop useless make variable OTHERS.
2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.116
diff -u -3 -r1.116 Makefile.in
--- Makefile.in 26 Sep 2002 04:14:02 -0000 1.116
+++ Makefile.in 28 Sep 2002 16:56:29 -0000
@@ -181,8 +181,7 @@
CC_FOR_BUILD = $(CC)
CXX_FOR_BUILD = $(CXX)
-SUBDIRS = "this is set via configure, don't edit this"
-OTHERS =
+SUBDIRS = @configdirs@
# This is set by the configure script to the list of directories which
# should be built using the target tools.
Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.4
diff -u -3 -r1.4 Makefile.tpl
--- Makefile.tpl 26 Sep 2002 04:14:02 -0000 1.4
+++ Makefile.tpl 28 Sep 2002 16:56:31 -0000
@@ -184,8 +184,7 @@
CC_FOR_BUILD = $(CC)
CXX_FOR_BUILD = $(CXX)
-SUBDIRS = "this is set via configure, don't edit this"
-OTHERS =
+SUBDIRS = @configdirs@
# This is set by the configure script to the list of directories which
# should be built using the target tools.
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/configure,v
retrieving revision 1.47
diff -u -3 -r1.47 configure
--- configure 26 Sep 2002 04:14:02 -0000 1.47
+++ configure 28 Sep 2002 16:56:32 -0000
@@ -1356,8 +1356,7 @@
rm -f ${subdir}/Makefile.tm2
sedtemp=sed.$$
cat >$sedtemp <<EOF
-s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:
-s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:
+s:@configdirs@:${configdirs}:
EOF
sed -f $sedtemp \
${subdir}/Makefile.tem > ${subdir}/Makefile.tm2
next reply other threads:[~2002-09-28 22:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-28 15:37 Nathanael Nerode [this message]
2002-09-28 15:48 ` DJ Delorie
2002-09-28 17:40 ` DJ Delorie
2002-09-30 9:48 ` 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=20020928223322.GA21873@doctormoo.dyndns.org \
--to=neroden@doctormoo.dyndns.org \
--cc=binutils@sources.redhat.com \
--cc=dj@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