blob: 664255297a26003ac17ff77fa61545c620fea178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/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
|