[Patch] Fixup more relative directories when building --enable-debug
Brad Spencer
spencer@infointeractive.com
Tue Jan 7 22:16:00 GMT 2003
On Tue, Jan 07, 2003 at 01:49:50PM -0800, Nathan Myers wrote:
> 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 \
> ) \
I know it's only tiny, but here are my changes with Nathan's
incantations taken into account (attached). Tested here ok.
--
------------------------------------------------------------------
Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
-------------- next part --------------
Index: Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/src/Makefile.in,v
retrieving revision 1.164
diff -u -p -r1.164 Makefile.in
--- Makefile.in 6 Jan 2003 21:22:59 -0000 1.164
+++ Makefile.in 7 Jan 2003 22:13:13 -0000
@@ -594,13 +594,12 @@ stamp-debug:
if test ! -d ${debugdir}; then \
mkdir -p ${debugdir}; \
(cd ${debugdir}; \
- cp ../Makefile .; \
- 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) ; \
+ sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
+ -e 's/srcdir = \.\./srcdir = ..\/../' \
+ -e 's/glibcpp_basedir = \.\./glibcpp_basedir = ..\/../' \
+ -e 's/all-local: build_debug/all-local:/' \
+ -e 's/install-data-local: install_debug/install-data-local:/' \
+ < ../Makefile > Makefile) ; \
fi; \
echo `date` > stamp-debug;
More information about the Libstdc++
mailing list