This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fixup more relative directories when building --enable-debug
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 7 Jan 2003 13:49:50 -0800
- Subject: Re: [Patch] Fixup more relative directories when building --enable-debug
- References: <20030107170612.H10574@infointeractive.com>
On Tue, Jan 07, 2003 at 05:06:12PM -0400, Brad Spencer wrote:
> ... And by the way, is there a reason
> this isn't just done with a pipe?
>
> ...
> sed 's/top_builddir = ../top_builddir = ..\/../g' \
> < Makefile > temp.1; \
> sed 's/all-local: build_debug/all-local:/g' < temp.1 > temp.2; \
> sed 's/install-data-local: install_debug/install-data-local:/g' \
> < temp.2 > temp.3; \
> mv temp.3 Makefile) ; \
Why even a pipe? Also, the "g" modifiers seem inappropriate.
sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
-e 's/all-local: build_debug/all-local:/' \
-e 's/install-data-local: install_debug/install-data-local:/' \
< Makefile > temp.1 &&
mv temp.1 Makefile \
) \
Nathan Myers
ncm-nospam@cantrip.org