* 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 56aacb3e7d6e29f0a403d30e66dc4632220d2bbf..b04c6e59c13f635125225bc679d73333878901ff 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 6984d2fd471df6c41c18abc7f09666ba68e7672d..1fba3c7e48f741f715c3bdbaeafa559392e62efe 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