2 Set makefile Makefile.mpw
4 # Run Make, then execute its output.
6 Echo "# `Date -t` ----- Build of {program}."
7 Echo "# `Date -t` ----- Analyzing dependencies."
10 Make {"Parameters"} -f "{makefile}"
11 End > "{program}".makeout
12 Echo "# `Date -t` ----- Executing build commands."
14 Delete "{program}".makeout
15 Echo "# `Date -t` ----- Done."
16 Set type "`files -i -n -x t "{program}" OR "{type}" =~ / MPST/ # application or tool
17 Echo -n t; Quote -n "{program}"; Echo -n " "
18 Else If "{type}" =~ / DFIL/ # desk accessory in Suitcase
20 Quote -n "Font/DA Mover" "{SystemFolder}"System "{program}";
21 Echo -n " # Install DA"
22 Else If "{type}" =~ / dfil/ # desk accessory (System 7)
24 Quote -n Duplicate -y "{program}" "{SystemFolder}Apple Menu Items";
25 Echo -n " # Install DA into Apple Menu"