From b18319318b4b69be9fb1b834846414981238bc12 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 30 Nov 1995 02:55:03 +0000 Subject: [PATCH] Fix MPW tool installation --- ld/mpw-make.sed | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ld/mpw-make.sed b/ld/mpw-make.sed index d26fdced3e..3f88a97fb5 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