From ce30477a7798d37b754d6a1e579decdf87c4d209 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 13 Mar 1999 16:51:46 +0000 Subject: [PATCH] Mac OS Makefile renamed to not have a >8.3 file name. Since this stops BuildProgram working, I've created a modified BuildProgram as mkputty.mpw. [originally from svn r93] --- PuTTY.make => Makefile.mpw | 4 ++-- mkputty.mpw | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) rename PuTTY.make => Makefile.mpw (96%) create mode 100644 mkputty.mpw diff --git a/PuTTY.make b/Makefile.mpw similarity index 96% rename from PuTTY.make rename to Makefile.mpw index 0df89940..842bf254 100644 --- a/PuTTY.make +++ b/Makefile.mpw @@ -1,8 +1,8 @@ -# $Id: PuTTY.make,v 1.1.2.8 1999/03/07 23:15:56 ben Exp $ +# $Id: Makefile.mpw,v 1.1.2.1 1999/03/13 16:51:46 ben Exp $ # This is the Makefile for building PuTTY for the Mac OS. # Users of non-Mac systems will see some pretty strange characters around. -MAKEFILE = PuTTY.make +MAKEFILE = Makefile.mpw „MondoBuild„ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified Includes = Sym„68K = diff --git a/mkputty.mpw b/mkputty.mpw new file mode 100644 index 00000000..935de1d0 --- /dev/null +++ b/mkputty.mpw @@ -0,0 +1,29 @@ +Set program PuTTY +Set makefile Makefile.mac + +# Run Make, then execute its output. + +Echo "# `Date -t` ----- Build of {program}." +Echo "# `Date -t` ----- Analyzing dependencies." +Begin + Echo "Set Echo 1" + Make {"Parameters"} -f "{makefile}" +End > "{program}".makeout +Echo "# `Date -t` ----- Executing build commands." +"{program}".makeout +Delete "{program}".makeout +Echo "# `Date -t` ----- Done." +Set type "`files -i -n -x t "{program}" 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 + + +