From: Stan Shebs Date: Fri, 1 Dec 1995 22:44:24 +0000 (+0000) Subject: * mpw-make.sed (install, install-only): Edit in Mac-specific X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67e69d7e9edb13adbe267028b993c8dc9dcc8273;p=binutils-gdb.git * mpw-make.sed (install, install-only): Edit in Mac-specific install procedure. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 56aacb3e7d6..b04c6e59c13 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 1 14:41:56 1995 Stan Shebs + + * mpw-make.sed (install, install-only): Edit in Mac-specific + install procedure. + Thu Nov 30 20:26:02 1995 Kim Knuttila * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage, diff --git a/binutils/mpw-make.sed b/binutils/mpw-make.sed index 6984d2fd471..1fba3c7e48f 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