aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-11-30 02:55:03 +0000
committerStan Shebs <shebs@codesourcery.com>1995-11-30 02:55:03 +0000
commitb18319318b4b69be9fb1b834846414981238bc12 (patch)
tree0f9ef9f78a98169e802b259ac2a55711e456d3e3 /ld
parentbcbf388e993d206027da59f87014ca561ebdd6fc (diff)
downloadgdb-b18319318b4b69be9fb1b834846414981238bc12.zip
gdb-b18319318b4b69be9fb1b834846414981238bc12.tar.gz
gdb-b18319318b4b69be9fb1b834846414981238bc12.tar.bz2
Fix MPW tool installation
Diffstat (limited to 'ld')
-rw-r--r--ld/mpw-make.sed14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/mpw-make.sed b/ld/mpw-make.sed
index d26fdce..3f88a97 100644
--- a/ld/mpw-make.sed
+++ b/ld/mpw-make.sed
@@ -67,6 +67,20 @@
# The resource file is called mac-ld.r.
/{LD_PROG}.r/s/{LD_PROG}\.r/mac-ld.r/
+/^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\
+ Duplicate -y :ld.new "{bindir}"ld\
+
+
# Remove dependency rebuilding crud.
/^.dep /,/# .PHONY /d