Fix MPW tool installation
This commit is contained in:
parent
bcbf388e99
commit
b18319318b
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue