-Set program PuTTY
+# $Id: mkputty.mpw,v 1.1.2.7 1999/04/02 10:21:49 ben Exp $
+
+set program "{1}"
+shift
+if "{program}" == "" || "{program}" == "68k"
+ set program PuTTY.68k
+end
+if "{program}" == "ppc"
+ set program PuTTY.ppc
+end
+if "{program}" == "fat"
+ set program PuTTY
+end
+
Set makefile Makefile.mpw
# Run Make, then execute its output.
Echo "# `Date -t` ----- Build of {program}."
+#if (`exists "#"Å"#"`)
+# echo "# `Date -t` ----- Warning: auto-save file present."
+#end
Echo "# `Date -t` ----- Analyzing dependencies."
Begin
Echo "Set Echo 1"
Set CaseSensitive True #filetype check for DA must be case sensitive
If "{type}" =~ /Å APPL/ OR "{type}" =~ /Å MPST/ # application or tool
Echo -n ¶t; Quote -n "{program}"; Echo -n " "
-Else If "{type}" =~ /Å DFIL/ # desk accessory in Suitcase
- Echo -n ¶t
- Quote -n "Font/DA Mover" "{SystemFolder}"System "{program}";
- Echo -n " # Install DA"
-Else If "{type}" =~ /Å dfil/ # desk accessory (System 7)
- Echo -n ¶t
- Quote -n Duplicate -y "{program}" "{SystemFolder}Apple Menu Items";
- Echo -n " # Install DA into Apple Menu"
End