* mpw-make.sed (install, install-only): Edit in Mac-specific
authorStan Shebs <shebs@codesourcery.com>
Fri, 1 Dec 1995 22:44:24 +0000 (22:44 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 1 Dec 1995 22:44:24 +0000 (22:44 +0000)
install procedure.

binutils/ChangeLog
binutils/mpw-make.sed

index 56aacb3..b04c6e5 100644 (file)
@@ -1,3 +1,8 @@
+Fri Dec  1 14:41:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed (install, install-only): Edit in Mac-specific
+       install procedure.
+
 Thu Nov 30 20:26:02 1995  Kim Knuttila  <krk@cygnus.com>
 
        * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage,
index 6984d2f..1fba3c7 100644 (file)
@@ -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