diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-12-01 22:44:24 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-12-01 22:44:24 +0000 |
commit | 67e69d7e9edb13adbe267028b993c8dc9dcc8273 (patch) | |
tree | 4401829434c72c2b79f1fba521ae4905fc52481b /binutils/mpw-make.sed | |
parent | 90f543f68427eb7a884ad6152f7287569e1fe4c6 (diff) | |
download | gdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.zip gdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.tar.gz gdb-67e69d7e9edb13adbe267028b993c8dc9dcc8273.tar.bz2 |
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.
Diffstat (limited to 'binutils/mpw-make.sed')
-rw-r--r-- | binutils/mpw-make.sed | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/mpw-make.sed b/binutils/mpw-make.sed index 6984d2f..1fba3c7 100644 --- a/binutils/mpw-make.sed +++ b/binutils/mpw-make.sed @@ -66,6 +66,24 @@ BUILD_DLLTOOL = \ # Fix an over-eagerness. /echo.*WARNING.*This file/s/'.*'/' '/ +/^install \\Option-f /,/^$/c\ +install \\Option-f all install-only\ +\ +install-only \\Option-f\ + If "`Exists "{prefix}"`" == ""\ + Echo "{prefix}" does not exist, cannot install anything\ + Exit 1\ + End If\ + If "`Exists "{bindir}"`" == ""\ + NewFolder "{bindir}"\ + End If\ + # Need to copy all the tools\ + For prog in {PROGS}\ + Set progname `echo {prog} | sed -e 's/.new//'`\ + Duplicate -y :{prog} "{bindir}"{progname}\ + End For\ + + # Remove un-useful targets. /^Makefile \\Option-f/,/^$/d /^"{o}"config.h \\Option-f/,/^$/d |