[Patch] Fixup more relative directories when building --enable-debug

Nathan Myers ncm-nospam@cantrip.org
Tue Jan 7 21:50:00 GMT 2003


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



More information about the Libstdc++ mailing list