Remove distrib/Mac*; fixes #7136
authorIan Lynagh <ian@well-typed.com>
Thu, 11 Oct 2012 14:31:57 +0000 (15:31 +0100)
committerIan Lynagh <ian@well-typed.com>
Thu, 11 Oct 2012 14:31:57 +0000 (15:31 +0100)
We no longer produce installers fo OS X; we leave that to the Haskell
Platform team.

18 files changed:
distrib/MacFrameworks/Makefile [deleted file]
distrib/MacFrameworks/README [deleted file]
distrib/MacFrameworks/build-framework-gmp.sh [deleted file]
distrib/MacFrameworks/build-framework-readline.sh [deleted file]
distrib/MacOS/English.lproj/InfoPlist.strings [deleted file]
distrib/MacOS/GHC-relocatable.pmdoc/01ghc-contents.xml [deleted file]
distrib/MacOS/GHC-relocatable.pmdoc/01ghc.xml [deleted file]
distrib/MacOS/GHC-relocatable.pmdoc/index.xml [deleted file]
distrib/MacOS/GHC-system.pmdoc/01ghc.xml [deleted file]
distrib/MacOS/GHC-system.pmdoc/index.xml.in [deleted file]
distrib/MacOS/GHC.xcodeproj/project.pbxproj [deleted file]
distrib/MacOS/Info.plist [deleted file]
distrib/MacOS/installer-docs/lambda-logo.png [deleted file]
distrib/MacOS/installer-docs/license.html [deleted file]
distrib/MacOS/installer-scripts/Uninstaller.in [deleted file]
distrib/MacOS/installer-scripts/create-links.in [deleted file]
distrib/MacOS/installer-scripts/relocate [deleted file]
distrib/MacOS/mkinstaller [deleted file]

diff --git a/distrib/MacFrameworks/Makefile b/distrib/MacFrameworks/Makefile
deleted file mode 100644 (file)
index 9ebc118..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-READLINE_DIR = readline-5.2
-GMP_DIR = gmp-4.2.1
-
-all: GMP.framework GNUreadline.framework
-
-$(GMP_DIR).tar.gz:
-       cp ../../gmp/$(GMP_DIR).tar.gz .
-
-$(READLINE_DIR).tar.gz:
-       curl -O ftp://ftp.cwru.edu/pub/bash/$(READLINE_DIR).tar.gz
-
-$(GMP_DIR): $(GMP_DIR).tar.gz
-       tar -xzvf $(GMP_DIR).tar.gz
-
-$(READLINE_DIR): $(READLINE_DIR).tar.gz
-       tar -xzvf $(READLINE_DIR).tar.gz
-
-GMP.framework: $(GMP_DIR)
-       sh build-framework-gmp.sh
-
-GNUreadline.framework: $(READLINE_DIR)
-       sh build-framework-readline.sh
-
-clean: 
-       rm -rf $(GMP_DIR) $(READLINE_DIR)
-       rm -rf  GMP.framework GNUreadline.framework
-       rm -rf  GMP-framework.zip GNUreadline-framework.zip
-
-cleanall: clean
-       rm -f $(GMP_DIR).tar.gz
-       rm -f $(READLINE_DIR).tar.gz
diff --git a/distrib/MacFrameworks/README b/distrib/MacFrameworks/README
deleted file mode 100644 (file)
index 565b5da..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-This directory is concerned with generating the following frameworks for use
-on OS X:
-
-GMP.framework
-GNUreadline.framework
-
-To make them, run 'make all' in this directory.  (The first time that you
-run that command, the readline source file readline-5.2.tar.gz will be 
-downloaded from the bash site ftp.cwru.edu into this directory.)
-
-Once you've built the frameworks, you should copy them into
-/Library/Frameworks.  All subsequent builds of ghc will automatically use 
-them as dependencies.  
diff --git a/distrib/MacFrameworks/build-framework-gmp.sh b/distrib/MacFrameworks/build-framework-gmp.sh
deleted file mode 100644 (file)
index e3d7beb..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-# This is the shell script used to create this framework
-# from the sources available from the GMP web page at
-# http://www.swox.com/gmp/
-# To build your own, copy this file next to a GMP source tree,
-# update the SrcDir variable if necessary and execute
-# sh build-framework.sh
-
-SrcDir=gmp-4.2.1
-FrameworkName=GMP
-FrameworkVersion=A
-LibraryName=libgmp.dylib
-ExtraThings="$SrcDir/StagingAreaPPC/info $SrcDir/README $SrcDir/COPYING.LIB $SrcDir/ChangeLog build-framework.sh"
-
-pushd $SrcDir || exit 1
-
-make distclean
-CFLAGS='-arch ppc' ./configure --enable-cxx --host=powerpc-apple-darwin --disable-static --enable-shared --prefix=`pwd`/StagingAreaPPC || exit 1
-make CCLD='gcc -Wc,-arch -Wc,ppc' || exit 1
-make install || exit 1
-
-make distclean
-CFLAGS='-arch i386' ./configure --enable-cxx --host=none-apple-darwin --disable-static --enable-shared --prefix=`pwd`/StagingAreaIntel || exit 1
-make CCLD='gcc -Wc,-arch -Wc,i386' || exit 1
-make install || exit 1
-
-popd
-
-
-rm -rf $FrameworkName.framework
-
-FWVDir=$FrameworkName.framework/Versions/$FrameworkVersion
-mkdir -p $FWVDir
-
-cp -R $SrcDir/StagingAreaPPC/include $FWVDir/Headers
-# cp $SrcDir/StagingArea/lib/$LibraryName $FWVDir/$FrameworkName
-lipo -arch ppc $SrcDir/StagingAreaPPC/lib/$LibraryName -arch i386 $SrcDir/StagingAreaIntel/lib/$LibraryName -create -output $FWVDir/$FrameworkName
-
-install_name_tool -id $FWVDir/$FrameworkName $FWVDir/$FrameworkName
-
-ln -sf Versions/$FrameworkVersion/$FrameworkName $FrameworkName.framework/$FrameworkName
-ln -sf Versions/$FrameworkVersion/Headers $FrameworkName.framework/Headers
-
-for i in $ExtraThings; do
-    cp -R $i $FrameworkName.framework/
-done
-
-echo "Framework $FrameworkName.framework created."
diff --git a/distrib/MacFrameworks/build-framework-readline.sh b/distrib/MacFrameworks/build-framework-readline.sh
deleted file mode 100644 (file)
index ef227ca..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-
-#!/bin/sh
-# This is the shell script used to create this framework
-# from the sources available from the bash site at
-# ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz
-# To build your own, copy this script and the above gzip file 
-# into an empty directory, and run the following commands:
-# 
-# tar -xzf readline-5.2.tar.gz
-# sh build-framework.sh
-
-ONLY_COPY=0
-
-SrcDir=readline-5.2
-FrameworkName=GNUreadline
-FrameworkVersion=A
-LibraryName=libreadline.dylib
-ExtraThings="$SrcDir/StagingArea/info $SrcDir/README $SrcDir/COPYING $SrcDir/CHANGELOG build-framework-readline.sh readline-5.2.tar.gz"
-
-pushd $SrcDir || exit 1
-
-# for getting cross compiled universal binaries running on ppc and i386
-CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
-LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
-export CFLAGS LDFLAGS
-
-./configure --disable-dependency-tracking --disable-static --enable-shared --prefix=`pwd`/StagingArea || exit 1
-make || exit 1
-make doc || exit 1
-make install || exit 1
-
-popd
-
-rm -rf $FrameworkName.framework
-
-FWVDir=$FrameworkName.framework/Versions/$FrameworkVersion
-mkdir -p $FWVDir
-
-# Copy the header files into our new framework.
-# Change declarations of #include <readline/*.h> to <GNUreadline/readline/*.h>, so that they reference the 
-# header files inside of this framework.
-OLDINCLUDEDIR=$SrcDir/StagingArea/include/readline
-NEWINCLUDEDIR=$FWVDir/Headers/readline
-mkdir -p $NEWINCLUDEDIR
-for i in `ls $OLDINCLUDEDIR`; do
-    sed 's/include <readline/include <GNUreadline\/readline/' $OLDINCLUDEDIR/$i > $NEWINCLUDEDIR/$i
-done
-cp $SrcDir/StagingArea/lib/$LibraryName $FWVDir/$FrameworkName
-
-chmod u+w $FWVDir/$FrameworkName
-
-install_name_tool -id $FWVDir/$FrameworkName $FWVDir/$FrameworkName
-
-ln -sf Versions/$FrameworkVersion/$FrameworkName $FrameworkName.framework/$FrameworkName
-ln -sf Versions/$FrameworkVersion/Headers $FrameworkName.framework/Headers
-
-for i in $ExtraThings; do
-    cp -R $i $FrameworkName.framework/
-done
-
-echo "Framework $FrameworkName.framework created."
-zip -qyr "$FrameworkName-framework.zip" "$FrameworkName.framework"
-echo "... and zipped as $FrameworkName-framework.zip"
diff --git a/distrib/MacOS/English.lproj/InfoPlist.strings b/distrib/MacOS/English.lproj/InfoPlist.strings
deleted file mode 100644 (file)
index 098ae15..0000000
Binary files a/distrib/MacOS/English.lproj/InfoPlist.strings and /dev/null differ
diff --git a/distrib/MacOS/GHC-relocatable.pmdoc/01ghc-contents.xml b/distrib/MacOS/GHC-relocatable.pmdoc/01ghc-contents.xml
deleted file mode 100644 (file)
index bc1e5a7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<pkg-contents spec="1.12"/>
\ No newline at end of file
diff --git a/distrib/MacOS/GHC-relocatable.pmdoc/01ghc.xml b/distrib/MacOS/GHC-relocatable.pmdoc/01ghc.xml
deleted file mode 100644 (file)
index 6ad037d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<pkgref spec="1.12" uuid="FD3688D8-0443-4DCE-A3BB-F4A8EF12A4AB"><config><identifier>org.haskell.ghc.pkg</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">build/Release/GHC.framework</installFrom><installTo relocatable="true">/Library/Frameworks</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>requireAuthorization</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>scripts.postinstall.isRelativeType</mod><mod>installTo.isRelativeType</mod><mod>scripts.postinstall.isAbsoluteType</mod><mod>relocatable</mod><mod>installFrom.isRelativeType</mod><mod>installFrom.path</mod><mod>installTo</mod></config><scripts><postinstall relative="true" mod="true">installer-scripts/relocate</postinstall><scripts-dir relative="true" mod="true">installer-scripts</scripts-dir></scripts><contents><component id="org.haskell.ghc" path="/Users/chak/Code/ghc/distrib/MacOS/build/Release/GHC.framework" version="609.20071208"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>\r
\ No newline at end of file
diff --git a/distrib/MacOS/GHC-relocatable.pmdoc/index.xml b/distrib/MacOS/GHC-relocatable.pmdoc/index.xml
deleted file mode 100644 (file)
index 8b76c1c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<pkmkdoc spec="1.12"><properties><title>Glasgow Haskell Compiler</title><build>/Users/chak/Desktop/Glasgow Haskell Compiler.pkg</build><organization>org.haskell</organization><userSees ui="easy"/><min-target os="3"/><domain anywhere="true" system="true" user="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>The Glasgow Haskell Compiler (GHC) is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell.  GHC supports the entire Haskell language plus a wide variety of extensions.  GHC generates fast code, is available on a range of platforms, and includes an extensive set of libraries.</description><contents><choice title="GHC" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.haskell.ghc.pkg"/><choice-reqs><requirement id="file" operator="eq" value="true" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"><file>/usr/bin/gcc-4.0</file></requirement></choice-reqs></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="de"/><locale lang="en"><resource relative="true" mod="true" type="license">build/Release/GHC.framework/Versions/609/ghc/LICENSE</resource><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949
-{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs26 \cf0 The installer will guide you through the process of installing the Glasgow Haskell Compiler (GHC) framework in a location of your choice.\
-\
-*** IMPORTANT NOTE ***\
-\
-You already need to have Xcode 3.0 or later installed.  Apple's developer package Xcode includes basic developer tools, such as the make utility and a C compiler.  Without these installed, the installation of the Glasgow Haskell Compiler will fail.\
-\
-Xcode can be installed off your Mac OS X installation DVD or be downloaded from <http://developer.apple.com>.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949
-{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs26 \cf0 To start the Glasgow Haskell Compiler interactively, invoke the command 'ghci' in a Terminal window.  \
-\
-Extensive documentation is available online at\
-\
-  http://haskell.org/haskellwiki/GHC}]]></resource></locale></resources><flags/><item type="file">01ghc.xml</item><mod>properties.userDomain</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod></pkmkdoc>
diff --git a/distrib/MacOS/GHC-system.pmdoc/01ghc.xml b/distrib/MacOS/GHC-system.pmdoc/01ghc.xml
deleted file mode 100644 (file)
index 4eb91c3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<pkgref spec="1.12" uuid="24EEBBE7-7B79-47C9-839B-A5407A419948"><config><identifier>org.haskell.ghc.pkg</identifier><version>1.0</version><description/><post-install type="none"/><requireAuthorization/><installFrom includeRoot="true">/tmp/GHC.dst/Library/Frameworks/GHC.framework</installFrom><installTo>/Library/Frameworks</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>scripts.scriptsDirectoryPath.path</mod><mod>parent</mod><mod>identifier</mod><mod>scripts.postinstall.path</mod></config><scripts><postinstall relative="true" mod="true">installer-scripts/create-links</postinstall><scripts-dir relative="true" mod="true">installer-scripts</scripts-dir></scripts><contents><file-list>01ghc-contents.xml</file-list><component id="org.haskell.ghc" path="/tmp/GHC.dst/Library/Frameworks/GHC.framework" version="612.220100521"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>\r
\ No newline at end of file
diff --git a/distrib/MacOS/GHC-system.pmdoc/index.xml.in b/distrib/MacOS/GHC-system.pmdoc/index.xml.in
deleted file mode 100644 (file)
index d07928b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<pkmkdoc spec="1.12"><properties><title>Glasgow Haskell Compiler</title><build>/Users/bjs/Desktop/Glasgow Haskell Compiler.pkg</build><organization>org.haskell</organization><userSees ui="easy"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>The Glasgow Haskell Compiler (GHC) is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell.  GHC supports the entire Haskell language plus a wide variety of extensions.  GHC generates fast code, is available on a range of platforms, and includes an extensive set of libraries.  For more information, please consult &lt;http://haskell.org/ghc>.</description><contents><choice title="GHC" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.haskell.ghc.pkg"/><choice-reqs><requirement id="file" operator="eq" value="true" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"><file>/usr/bin/gcc</file></requirement></choice-reqs></choice></contents><resources bg-scale="none" bg-align="center"><locale lang="en"><resource relative="true" mod="true" type="background">installer-docs/lambda-logo.png</resource><resource relative="true" mod="true" type="license">installer-docs/license.html</resource><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290
-{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs26 \cf0 The installer will guide you through the process of installing the Glasgow Haskell Compiler (GHC) framework.\
-\
-This package will be installed on the system volume and is not relocatable.  An admin password is required during installation.\
-\
-*** IMPORTANT NOTE ***\
-\
-You already need to have Xcode 3.0 or later, on Leopard, or Xcode 2.4 or later, on Tiger, installed.  Apple's developer package Xcode includes basic developer tools, such as the make utility and a C compiler.  Without these installed, the installation of the Glasgow Haskell Compiler will fail.\
-\
-Xcode can be installed off your Mac OS X installation DVD or be downloaded from <http://developer.apple.com>.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290
-{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
-
-\f0\fs26 \cf0 To start the Glasgow Haskell Compiler interactively, invoke the command 'ghci' in a Terminal window.\
-\
-A user's guide and detailed library documentation is available by opening\
-\
-  /usr/share/doc/ghc/index.html\
-\
-in a web browser. More documentation is available online at\
-\
-  http://haskell.org/haskellwiki/GHC\
-\
-To uninstall, execute\
-\
-  /Library/Frameworks/GHC.framework/Versions/@FRAMEWORK_VERSION@/Tools/Uninstaller}]]></resource></locale></resources><flags/><item type="file">01ghc.xml</item><mod>properties.systemDomain</mod><mod>properties.title</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>description</mod></pkmkdoc>
diff --git a/distrib/MacOS/GHC.xcodeproj/project.pbxproj b/distrib/MacOS/GHC.xcodeproj/project.pbxproj
deleted file mode 100644 (file)
index 471893c..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-// !$*UTF8*$!
-{
-       archiveVersion = 1;
-       classes = {
-       };
-       objectVersion = 44;
-       objects = {
-
-/* Begin PBXBuildFile section */
-               8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; };
-               E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
-               089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
-               8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
-               8D07F2C80486CC7A007CD1D0 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-               E7D5AE720DF3CEE3001262D2 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXGroup section */
-               034768DDFF38A45A11DB9C8B /* Products */ = {
-                       isa = PBXGroup;
-                       children = (
-                               8D07F2C80486CC7A007CD1D0 /* GHC.framework */,
-                               E7D5AE720DF3CEE3001262D2 /* GHC.framework */,
-                       );
-                       name = Products;
-                       sourceTree = "<group>";
-               };
-               0867D691FE84028FC02AAC07 /* GHC */ = {
-                       isa = PBXGroup;
-                       children = (
-                               08FB77ACFE841707C02AAC07 /* Source */,
-                               089C1665FE841158C02AAC07 /* Resources */,
-                               0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
-                               034768DDFF38A45A11DB9C8B /* Products */,
-                       );
-                       name = GHC;
-                       sourceTree = "<group>";
-               };
-               0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
-                       isa = PBXGroup;
-                       children = (
-                       );
-                       name = "External Frameworks and Libraries";
-                       sourceTree = "<group>";
-               };
-               089C1665FE841158C02AAC07 /* Resources */ = {
-                       isa = PBXGroup;
-                       children = (
-                               8D07F2C70486CC7A007CD1D0 /* Info.plist */,
-                               089C1666FE841158C02AAC07 /* InfoPlist.strings */,
-                       );
-                       name = Resources;
-                       sourceTree = "<group>";
-               };
-               08FB77ACFE841707C02AAC07 /* Source */ = {
-                       isa = PBXGroup;
-                       children = (
-                       );
-                       name = Source;
-                       sourceTree = "<group>";
-               };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-               8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */ = {
-                       isa = PBXNativeTarget;
-                       buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */;
-                       buildPhases = (
-                               8D07F2BF0486CC7A007CD1D0 /* Resources */,
-                               E76B00450D52DFDB00A05A2F /* ShellScript */,
-                       );
-                       buildRules = (
-                       );
-                       comments = "Supported targets: build\n\nPrecondition: Fully compiled tree (i.e., \"perl boot; ./configure; make\" was already executed)\n\nThis project creates a Mac OS X framework that encapsulates a *relocatable* *binary* GHC distribution.\n\n*  The framework is versioned using GHC's version and platform, and we call the current version directory in the following CONTENTS_FOLDER_BUILD.\n\n* This target installs into CONTENTS_FOLDER_BUILD/ghc/ the same contents that is in a binary-dist tar ball.\n\n* The idea is that at framework installation time, a post install script will perform \n\n    ./configure --prefix=CONTENTS_FOLDER_INSTALL/usr; make install \n\n   in that ghc/ directory, where CONTENTS_FOLDER_INSTALL is the path that CONTENTS_FOLDER_BUILD has after the package containing the framework was installed by the package installer.  This effectively rellocates the ghc installation to its final destination.";
-                       dependencies = (
-                       );
-                       name = "GHC-relocatable";
-                       productInstallPath = "$(HOME)/Library/Frameworks";
-                       productName = GHC;
-                       productReference = 8D07F2C80486CC7A007CD1D0 /* GHC.framework */;
-                       productType = "com.apple.product-type.framework";
-               };
-               E72A15E70D54ADB90059C234 /* GHC-systemwide */ = {
-                       isa = PBXNativeTarget;
-                       buildConfigurationList = E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */;
-                       buildPhases = (
-                               E72A15E80D54ADB90059C234 /* Resources */,
-                               E72A15EA0D54ADB90059C234 /* ShellScript */,
-                       );
-                       buildRules = (
-                       );
-                       comments = "Supported targets: build, install\n\nPrecondition: We are in a distribution tree, not a vanilla tree from darcs - i.e., \"perl boot; ./configure\" was already executed.\n\nAs part of the build target, ./configure will be executed again (setting a --prefix).  Additional arguments to ./configure can be specified by way of the environment variable XCODE_EXTRA_CONFIGURE_ARGS.\n\nThis project creates a Mac OS X framework at /Library/Frameworks.\n\n*  The framework is versioned using GHC's version and platform.\n\n* The target configures the tree for the deployment location and builds the tree.\n\n* This target installs the framework not into its final destination, but into a build directory using the DESTDIR feature of GHC build system (unless the deployment flag in the build rules is set).\n\n* The idea is that the framework at the build location is being turned into a package and the package installer eventually puts its at its final destination. \n";
-                       dependencies = (
-                       );
-                       name = "GHC-systemwide";
-                       productInstallPath = "$(HOME)/Library/Frameworks";
-                       productName = GHC;
-                       productReference = E7D5AE720DF3CEE3001262D2 /* GHC.framework */;
-                       productType = "com.apple.product-type.framework";
-               };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-               0867D690FE84028FC02AAC07 /* Project object */ = {
-                       isa = PBXProject;
-                       buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */;
-                       compatibilityVersion = "Xcode 3.0";
-                       hasScannedForEncodings = 1;
-                       mainGroup = 0867D691FE84028FC02AAC07 /* GHC */;
-                       productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
-                       projectDirPath = "";
-                       projectRoot = "";
-                       targets = (
-                               E72A15E70D54ADB90059C234 /* GHC-systemwide */,
-                               8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */,
-                       );
-               };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-               8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
-                       isa = PBXResourcesBuildPhase;
-                       buildActionMask = 2147483647;
-                       files = (
-                               8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */,
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-               };
-               E72A15E80D54ADB90059C234 /* Resources */ = {
-                       isa = PBXResourcesBuildPhase;
-                       buildActionMask = 2147483647;
-                       files = (
-                               E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */,
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-               };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-               E72A15EA0D54ADB90059C234 /* ShellScript */ = {
-                       isa = PBXShellScriptBuildPhase;
-                       buildActionMask = 2147483647;
-                       comments = "Build and install both code and documentation.  Building includes configuring the tree with the right prefix.\n\nNB: Why use a run script build phase instead of an external target (with a dependency)?  Because we need to be underneath the GHC target to get the right build settings.";
-                       files = (
-                       );
-                       inputPaths = (
-                       );
-                       outputPaths = (
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-                       shellPath = /bin/sh;
-                       shellScript = "case \"$ACTION\" in clean) rm -rf \"$GHC_UNPACKS_INTO\" ;; build) tar -jxf \"$BINDIST\" && cd \"$GHC_UNPACKS_INTO\" && ./configure --prefix=\"$INSTALL_PATH/$CONTENTS_FOLDER_PATH/usr\" --with-gcc=/usr/bin/gcc --with-gcc-4.2=/usr/bin/gcc ;; install) cd \"$GHC_UNPACKS_INTO\" && make install DESTDIR=\"$DSTROOT\" ;; *) echo \"Unknown action $ACTION\" >&2 ; exit 1 ;; esac ";
-               };
-               E76B00450D52DFDB00A05A2F /* ShellScript */ = {
-                       isa = PBXShellScriptBuildPhase;
-                       buildActionMask = 2147483647;
-                       comments = "Generate the binary distribution tree.";
-                       files = (
-                       );
-                       inputPaths = (
-                       );
-                       outputPaths = (
-                               "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/ghc",
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-                       shellPath = /bin/sh;
-                       shellScript = "if [ ${ACTION} = build ]; then\n  make -C ../.. BIN_DIST_NAME=ghc binary-dist\nfi\n";
-               };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXVariantGroup section */
-               089C1666FE841158C02AAC07 /* InfoPlist.strings */ = {
-                       isa = PBXVariantGroup;
-                       children = (
-                               089C1667FE841158C02AAC07 /* English */,
-                       );
-                       name = InfoPlist.strings;
-                       sourceTree = "<group>";
-               };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-               4FADC24308B4156D00ABE55E /* Debug */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               COPY_PHASE_STRIP = NO;
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_DYNAMIC_NO_PIC = NO;
-                               GCC_ENABLE_FIX_AND_CONTINUE = YES;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_OPTIMIZATION_LEVEL = 0;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = GHC_Prefix.pch;
-                               INFOPLIST_FILE = Info.plist;
-                               INSTALL_PATH = "$(HOME)/Library/Frameworks";
-                               LIBRARY_STYLE = DYNAMIC;
-                               MACH_O_TYPE = mh_dylib;
-                               PRODUCT_NAME = GHC;
-                               WRAPPER_EXTENSION = framework;
-                               ZERO_LINK = YES;
-                       };
-                       name = Debug;
-               };
-               4FADC24408B4156D00ABE55E /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ARCHS = (
-                                       ppc,
-                                       i386,
-                               );
-                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = GHC_Prefix.pch;
-                               INFOPLIST_FILE = Info.plist;
-                               INSTALL_PATH = "$(HOME)/Library/Frameworks";
-                               LIBRARY_STYLE = DYNAMIC;
-                               MACH_O_TYPE = mh_dylib;
-                               PRODUCT_NAME = GHC;
-                               VERSIONING_SYSTEM = "";
-                               WRAPPER_EXTENSION = framework;
-                       };
-                       name = Release;
-               };
-               4FADC24708B4156D00ABE55E /* Debug */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
-                               GCC_WARN_UNUSED_VARIABLE = YES;
-                               PREBINDING = NO;
-                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
-                       };
-                       name = Debug;
-               };
-               4FADC24808B4156D00ABE55E /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
-                               GCC_WARN_UNUSED_VARIABLE = YES;
-                               PREBINDING = NO;
-                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
-                               SHORT_VERSION_STRING = "";
-                       };
-                       name = Release;
-               };
-               E72A15ED0D54ADB90059C234 /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ARCHS = (
-                                       ppc,
-                                       i386,
-                               );
-                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = GHC_Prefix.pch;
-                               INFOPLIST_FILE = Info.plist;
-                               INSTALL_PATH = /Library/Frameworks;
-                               LIBRARY_STYLE = DYNAMIC;
-                               MACH_O_TYPE = mh_dylib;
-                               PRODUCT_NAME = GHC;
-                               VERSIONING_SYSTEM = "";
-                               WRAPPER_EXTENSION = framework;
-                       };
-                       name = Release;
-               };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-               4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               4FADC24308B4156D00ABE55E /* Debug */,
-                               4FADC24408B4156D00ABE55E /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Release;
-               };
-               4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               4FADC24708B4156D00ABE55E /* Debug */,
-                               4FADC24808B4156D00ABE55E /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Release;
-               };
-               E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               E72A15ED0D54ADB90059C234 /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Release;
-               };
-/* End XCConfigurationList section */
-       };
-       rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
-}
diff --git a/distrib/MacOS/Info.plist b/distrib/MacOS/Info.plist
deleted file mode 100644 (file)
index 4693799..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-       <key>CFBundleDevelopmentRegion</key>
-       <string>English</string>
-       <key>CFBundleExecutable</key>
-       <string>GHC</string>
-       <key>CFBundleGetInfoString</key>
-       <string>The Glorious Glasgow Haskell Compilation System</string>
-       <key>CFBundleIconFile</key>
-       <string></string>
-       <key>CFBundleIdentifier</key>
-       <string>org.haskell.ghc.${FRAMEWORK_VERSION}</string>
-       <key>CFBundleInfoDictionaryVersion</key>
-       <string>6.0</string>
-       <key>CFBundlePackageType</key>
-       <string>FMWK</string>
-       <key>CFBundleShortVersionString</key>
-       <string>${SHORT_VERSION_STRING}</string>
-       <key>CFBundleSignature</key>
-       <string>????</string>
-       <key>CFBundleVersion</key>
-       <string>${CURRENT_PROJECT_VERSION}</string>
-       <key>CSResourcesFileMapped</key>
-       <true/>
-</dict>
-</plist>
diff --git a/distrib/MacOS/installer-docs/lambda-logo.png b/distrib/MacOS/installer-docs/lambda-logo.png
deleted file mode 100644 (file)
index bfd7b42..0000000
Binary files a/distrib/MacOS/installer-docs/lambda-logo.png and /dev/null differ
diff --git a/distrib/MacOS/installer-docs/license.html b/distrib/MacOS/installer-docs/license.html
deleted file mode 100644 (file)
index b1ebc89..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html> <head>
-<title>The Glasgow Haskell Compilation System License</title>
-</head>
-
-<body>
-<h1>The Glasgow Haskell Compilation System License</h1>
-<p>
-The Glasgow Haskell Compilation System (GHC) is a bundle of software
-components covered by three different licenses as detailed below.
-</p>
-<ul>
-  <li><a href="#compiler">Compiler, runtime system, supporting infrastructure,
-  and almost all libraries</a> (BSD3)</li>
-  <li><a href="#gmp">GNU MP Bignum Library, aka GMP</a> (LGPL)</li>
-</ul>
-<p>
-Note that by default the GMP will be statically linked into any binary
-produced by GHC.  Software with a non-GPL compatible license will have to
-ensure that the conditions of the LGPL are met; for example, by forcing GMP to
-link dynamically instead.
-</p>
-
-<hr>
-
-<a name="compiler">
-<h2>Compiler, runtime system, supporting infrastructure, and almost all
-  libraries</h2>
-</a>
-<p>
-Copyright [2002..2008], The University Court of the University of Glasgow and
-others. All rights reserved.
-</p>
-<p>
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-</p>
-<ul>
-  <li>Redistributions of source code must retain the above copyright notice,
-  this list of conditions and the following disclaimer.</li>
-  <li>Redistributions in binary form must reproduce the above copyright
-  notice, this list of conditions and the following disclaimer in the
-  documentation and/or other materials provided with the distribution.</li>
- <li>Neither name of the University nor the names of its contributors may be
-  used to endorse or promote products derived from this software without
-  specific prior written permission.</li>
-</ul>
-<p>
-THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
-GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-</p>
-
-<hr>
-
-<a name="gmp">
-<h2>GNU MP Bignum Library</h2>
-</a>
-
-<h3>GNU LESSER GENERAL PUBLIC LICENSE</h3>
-<p>Version 3, 29 June 2007</p>
-
-<p>Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;</p><p>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.</p>
-
-<p>This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.</p>
-
-<h4><a name="section0"></a>0. Additional Definitions.</h4>
-
-<p>As used herein, &ldquo;this License&rdquo; refers to version 3 of the GNU Lesser
-General Public License, and the &ldquo;GNU GPL&rdquo; refers to version 3 of the GNU
-General Public License.</p>
-
-<p>&ldquo;The Library&rdquo; refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.</p>
-
-<p>An &ldquo;Application&rdquo; is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.</p>
-
-<p>A &ldquo;Combined Work&rdquo; is a work produced by combining or linking an
-Application with the Library.  The particular version of the Library
-with which the Combined Work was made is also called the &ldquo;Linked
-Version&rdquo;.</p>
-
-<p>The &ldquo;Minimal Corresponding Source&rdquo; for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.</p>
-
-<p>The &ldquo;Corresponding Application Code&rdquo; for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.</p>
-
-<h4><a name="section1"></a>1. Exception to Section 3 of the GNU GPL.</h4>
-
-<p>You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.</p>
-
-<h4><a name="section2"></a>2. Conveying Modified Versions.</h4>
-
-<p>If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:</p>
-
-<ul>
-<li>a) under this License, provided that you make a good faith effort to
-   ensure that, in the event an Application does not supply the
-   function or data, the facility still operates, and performs
-   whatever part of its purpose remains meaningful, or</li>
-
-<li>b) under the GNU GPL, with none of the additional permissions of
-   this License applicable to that copy.</li>
-</ul>
-
-<h4><a name="section3"></a>3. Object Code Incorporating Material from Library Header Files.</h4>
-
-<p>The object code form of an Application may incorporate material from
-a header file that is part of the Library.  You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:</p>
-
-<ul>
-<li>a) Give prominent notice with each copy of the object code that the
-   Library is used in it and that the Library and its use are
-   covered by this License.</li>
-
-<li>b) Accompany the object code with a copy of the GNU GPL and this license
-   document.</li>
-</ul>
-
-<h4><a name="section4"></a>4. Combined Works.</h4>
-
-<p>You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:</p>
-
-<ul>
-<li>a) Give prominent notice with each copy of the Combined Work that
-   the Library is used in it and that the Library and its use are
-   covered by this License.</li>
-
-<li>b) Accompany the Combined Work with a copy of the GNU GPL and this license
-   document.</li>
-
-<li>c) For a Combined Work that displays copyright notices during
-   execution, include the copyright notice for the Library among
-   these notices, as well as a reference directing the user to the
-   copies of the GNU GPL and this license document.</li>
-
-<li>d) Do one of the following:
-
-<ul>
-<li>0) Convey the Minimal Corresponding Source under the terms of this
-       License, and the Corresponding Application Code in a form
-       suitable for, and under terms that permit, the user to
-       recombine or relink the Application with a modified version of
-       the Linked Version to produce a modified Combined Work, in the
-       manner specified by section 6 of the GNU GPL for conveying
-       Corresponding Source.</li>
-
-<li>1) Use a suitable shared library mechanism for linking with the
-       Library.  A suitable mechanism is one that (a) uses at run time
-       a copy of the Library already present on the user's computer
-       system, and (b) will operate properly with a modified version
-       of the Library that is interface-compatible with the Linked
-       Version.</li>
-</ul></li>
-
-<li>e) Provide Installation Information, but only if you would otherwise
-   be required to provide such information under section 6 of the
-   GNU GPL, and only to the extent that such information is
-   necessary to install and execute a modified version of the
-   Combined Work produced by recombining or relinking the
-   Application with a modified version of the Linked Version. (If
-   you use option 4d0, the Installation Information must accompany
-   the Minimal Corresponding Source and Corresponding Application
-   Code. If you use option 4d1, you must provide the Installation
-   Information in the manner specified by section 6 of the GNU GPL
-   for conveying Corresponding Source.)</li>
-</ul>
-
-<h4><a name="section5"></a>5. Combined Libraries.</h4>
-
-<p>You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:</p>
-
-<ul>
-<li>a) Accompany the combined library with a copy of the same work based
-   on the Library, uncombined with any other library facilities,
-   conveyed under the terms of this License.</li>
-
-<li>b) Give prominent notice with the combined library that part of it
-   is a work based on the Library, and explaining where to find the
-   accompanying uncombined form of the same work.</li>
-</ul>
-
-<h4><a name="section6"></a>6. Revised Versions of the GNU Lesser General Public License.</h4>
-
-<p>The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.</p>
-
-<p>Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License &ldquo;or any later version&rdquo;
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.</p>
-
-<p>If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.</p>
-
-</body> </html>
diff --git a/distrib/MacOS/installer-scripts/Uninstaller.in b/distrib/MacOS/installer-scripts/Uninstaller.in
deleted file mode 100644 (file)
index 686dbb0..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Uninstaller script for GHC.framework 
-# (currently only for system volume installations)
-
-INSTALL_DEST=/Library/Frameworks
-INSTALL_BASE=/
-
-# Turn off things that might make /usr/bin/ls give funky output
-unset CLICOLOR
-unset CLICOLOR_FORCE
-unset LSCOLORS
-
-if [ ${INSTALL_BASE} = / ]; then
-  INSTALL_BASE=/usr
-fi
-INSTALL_BIN=${INSTALL_BASE}/bin
-INSTALL_MAN1=${INSTALL_BASE}/share/man/man1
-INSTALL_HTML=${INSTALL_BASE}/share/doc
-
-if [ ! -x ${INSTALL_DEST}/GHC.framework ]; then
-  echo "${INSTALL_DEST}/GHC.framework does not exit"
-  exit 1
-fi
-
-if [ ${USER} != root ]; then
-  echo "GHC.framework installer must be run with admin privileges"
-  echo "Prefix command by 'sudo'"
-  exit 1
-fi
-
-FRAMEWORK_DIRECTORY="$INSTALL_DEST/GHC.framework"
-VERSIONS_DIRECTORY="$FRAMEWORK_DIRECTORY/Versions"
-
-MY_VERSION=@FRAMEWORK_VERSION@
-MY_DIRECTORY="$VERSIONS_DIRECTORY/$MY_VERSION"
-
-CURRENT_DIRECTORY="$VERSIONS_DIRECTORY/Current"
-CURRENT_VERSION=`readlink "$CURRENT_DIRECTORY"`
-
-removeLinksFrom () {
-    for f in `ls -1 "$MY_DIRECTORY/$1"`
-    do
-        qf="$1/$f"
-        # Only remove if it is a link to our version. e.g. /usr/bin/ghc
-        # will only be removed if we are the current version, but
-        # /usr/bin/ghc-7.0.1 will be removed even if ghc-7.2.1 is the
-        # current version.
-        l=`readlink "$qf" | grep "GHC.framework/Versions/$MY_VERSION"`
-        if [ "$l" != "" ]
-        then
-            rm -f "$qf"
-        fi
-    done
-}
-
-removeLinksFrom /usr/bin
-removeLinksFrom /usr/share/man/man1
-removeLinksFrom /usr/share/doc
-
-echo "Removing $MY_DIRECTORY"
-rm -rf "$MY_DIRECTORY"
-
-if [ "$CURRENT_VERSION" = "$MY_VERSION" ]
-then
-    rm -f "$CURRENT_DIRECTORY"
-
-    # This isn't ideal, but it's a vague approximation to
-    # "the most recent version":
-    NEW_VERSION=`ls -1 "$VERSIONS_DIRECTORY" | tail -1`
-    if [ "$NEW_VERSION" = "" ]
-    then
-        echo "Removing $FRAMEWORK_DIRECTORY"
-        rm -rf "$FRAMEWORK_DIRECTORY"
-    else
-        ln -s "$NEW_VERSION" "$CURRENT_DIRECTORY"
-        NEW_CREATE_LINKS="$VERSIONS_DIRECTORY/$NEW_VERSION/Tools/create-links"
-        if [ -f "$NEW_CREATE_LINKS" ]
-        then
-            sh "$NEW_CREATE_LINKS" unused /Library/Frameworks /
-        fi
-    fi
-fi
-
-echo "Removing package receipt"
-# The first is for Leopard packages and the second for Tiger packages.
-rm -f "/Library/Receipts/boms/org.haskell.ghc.$MY_VERSION.bom"
-rm -rf "/Library/Receipts/ghc.$MY_VERSION.pkg"
-
-echo "Done."
-
diff --git a/distrib/MacOS/installer-scripts/create-links.in b/distrib/MacOS/installer-scripts/create-links.in
deleted file mode 100644 (file)
index a341be6..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-# GHC framework post-install script
-# * Add links to all executables into the standard bin/ directory
-# * Add link to the man page into the standard man/man1/ directory
-# * Add link to the HTML docs into the standard share/doc/ directory
-
-# The binary links are careful not to use Current, because that will be
-# rebound to the current version on every reinstall.
-
-# It probably won't ever happen, but this should work correctly if the install
-# destination has a space on it.
-
-# See apple "Install Operations" documentation for how this script is called.
-
-INSTALL_DEST="$2"
-INSTALL_BASE="$3"
-
-if [ "$INSTALL_BASE" = / ]; then
-  INSTALL_BASE=/usr
-fi
-
-VERSION=@FRAMEWORK_VERSION@
-GHC_BASE="$INSTALL_DEST/GHC.framework/Versions/$VERSION"
-
-INSTALL_BIN="$INSTALL_BASE/bin"
-mkdir -p "$INSTALL_BIN"
-if [ -d "$GHC_BASE/usr/bin" ]; then
-  ln -sf "$GHC_BASE"/usr/bin/* "$INSTALL_BIN/"
-fi
-
-INSTALL_MAN1="$INSTALL_BASE"/share/man/man1
-INSTALL_HTML="$INSTALL_BASE"/share/doc
-mkdir -p "$INSTALL_MAN1"
-if [ -d "$GHC_BASE"/usr/share/man/man1 ]; then
-  ln -sf "$GHC_BASE"/usr/share/man/man1/* "$INSTALL_MAN1/"
-  ln -sf "$GHC_BASE"/usr/share/doc/ghc "$INSTALL_HTML/"
-fi
diff --git a/distrib/MacOS/installer-scripts/relocate b/distrib/MacOS/installer-scripts/relocate
deleted file mode 100644 (file)
index 6642552..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Post install script that relocates the GHC installation to a /usr tree rooted
-# GHC framework's versioned contents folder.
-
-INSTALL_DIR=`pwd`
-CONTENTS_FOLDER_PATH=GHC.framework/Versions/Current
-
-cd ${CONTENTS_FOLDER_PATH}/ghc; \
-  ./configure --prefix=${INSTALL_DIR}/${CONTENTS_FOLDER_PATH}/usr
-cd ${CONTENTS_FOLDER_PATH}/ghc; \
-  make install
-
-# TODO: remove the binary dist tree
\ No newline at end of file
diff --git a/distrib/MacOS/mkinstaller b/distrib/MacOS/mkinstaller
deleted file mode 100755 (executable)
index c4f132b..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/bash
-
-set -e
-
-die () {
-    echo "Error: $1" >&2
-    exit 1
-}
-
-if ! [ -d installer-scripts ]
-then
-    die "Doesn't look like you are running this script from the right location"
-fi
-
-if [ "$#" -ne 1 ]
-then
-    die "Must be given one argument (the bindist)"
-fi
-
-BINDIST="$1"
-
-GHC_UNPACKS_INTO=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\2/'`
-GHC_VERSION_DIG1=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\3/'`
-GHC_VERSION_DIG2=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\4/'`
-GHC_VERSION_DIG3=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\5/'`
-GHC_VERSION_DIG4=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\7/'`
-GHC_ARCHITECTURE=`echo "$BINDIST" | sed 's/^\(.*\/\)\{0,1\}\(ghc-\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\(\.\([0-9]\{1,\}\)\)\{0,1\}\)-\([a-z0-9_]\{1,\}\)-apple-darwin\.tar\.bz2$/\8/'`
-
-if [ "$GHC_ARCHITECTURE" == "$BINDIST" ]
-then
-    die "Bindist filename not in expected format"
-fi
-
-if [ "$(($GHC_VERSION_DIG2 % 2))" -eq 1 ]
-then
-    if [ "$GHC_VERSION_DIG4" == "" ]
-    then
-        FRAMEWORK_VERSION="$GHC_VERSION_DIG1.$GHC_VERSION_DIG2.$GHC_VERSION_DIG3-$GHC_ARCHITECTURE"
-        CURRENT_PROJECT_VERSION=`printf "%02d%02d00.%08d\n" "$GHC_VERSION_DIG1" "$GHC_VERSION_DIG2" "$GHC_VERSION_DIG3"`
-    else
-        die "Huh? 4 component HEAD version?"
-    fi
-else
-    if [ "$GHC_VERSION_DIG4" == "" ]
-    then
-        FRAMEWORK_VERSION="$GHC_VERSION_DIG1.$GHC_VERSION_DIG2.$GHC_VERSION_DIG3-$GHC_ARCHITECTURE"
-        CURRENT_PROJECT_VERSION=`printf "%02d%02d%02d\n" "$GHC_VERSION_DIG1" "$GHC_VERSION_DIG2" "$GHC_VERSION_DIG3"`
-    else
-        FRAMEWORK_VERSION="$GHC_VERSION_DIG1.$GHC_VERSION_DIG2.$GHC_VERSION_DIG3.$GHC_VERSION_DIG4-$GHC_ARCHITECTURE"
-        CURRENT_PROJECT_VERSION=`printf "%02d%02d%02d.%08d\n" "$GHC_VERSION_DIG1" "$GHC_VERSION_DIG2" "$GHC_VERSION_DIG3" "$GHC_VERSION_DIG4"`
-    fi
-fi
-
-# The user-visible CFBundleShortVersionString
-SHORT_VERSION_STRING="$FRAMEWORK_VERSION"
-
-# Name of the installer package
-PACKAGE_NAME="GHC-$FRAMEWORK_VERSION.pkg"
-
-# Xcode's installation build product location (this is where the GHC.framework
-# is assembled)
-DSTROOT="/tmp/GHC.dst"
-
-# Tools directory for a system volume install
-TOOLS_SYSTEM="$DSTROOT/Library/Frameworks/GHC.framework/Versions/$FRAMEWORK_VERSION/Tools"
-
-rm -rf "$DSTROOT"
-mkdir -p "$TOOLS_SYSTEM"
-sed "s/@FRAMEWORK_VERSION@/$FRAMEWORK_VERSION/" \
-    < installer-scripts/Uninstaller.in          \
-    > installer-scripts/Uninstaller
-sed "s/@FRAMEWORK_VERSION@/$FRAMEWORK_VERSION/" \
-    < installer-scripts/create-links.in         \
-    > installer-scripts/create-links
-sed "s/@FRAMEWORK_VERSION@/$FRAMEWORK_VERSION/" \
-    < GHC-system.pmdoc/index.xml.in             \
-    > GHC-system.pmdoc/index.xml
-cp installer-scripts/Uninstaller installer-scripts/create-links "$TOOLS_SYSTEM"
-xcodebuild -target GHC-systemwide clean build install         \
-           BINDIST="$BINDIST"                                 \
-           GHC_UNPACKS_INTO="$GHC_UNPACKS_INTO"               \
-           CURRENT_PROJECT_VERSION="$CURRENT_PROJECT_VERSION" \
-           SHORT_VERSION_STRING="$SHORT_VERSION_STRING"       \
-           FRAMEWORK_VERSION="$FRAMEWORK_VERSION"             \
-           CURRENT_LIBRARY_VERSION="$FRAMEWORK_VERSION"       \
-           COMMAND_MODE=unix2003
-rm -f GHC-system.pmdoc/*-contents.xml
-
-/Developer/usr/bin/packagemaker             \
-    -v --doc GHC-system.pmdoc               \
-    -o $PACKAGE_NAME                        \
-    -i org.haskell.ghc."$FRAMEWORK_VERSION"
-
-# Clean up
-xcodebuild -target GHC-systemwide clean                       \
-           CURRENT_PROJECT_VERSION="$CURRENT_PROJECT_VERSION" \
-           SHORT_VERSION_STRING="$SHORT_VERSION_STRING"       \
-           FRAMEWORK_VERSION="$FRAMEWORK_VERSION"             \
-           CURRENT_LIBRARY_VERSION="$FRAMEWORK_VERSION"       \
-           COMMAND_MODE=unix2003
-rm -r "$GHC_UNPACKS_INTO"
-rm -r "$DSTROOT"
-rm installer-scripts/Uninstaller installer-scripts/create-links
-rm GHC-system.pmdoc/index.xml
-