summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-28 15:42:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-28 15:42:20 -0700
commit4d246f90385e4c29afb6ee3e3055bb0dc1adc137 (patch)
tree01f36f9aeddbb1dfcea4da94973586e3fe2b9bb5 /make_osx_package.sh
parent7b55048dfbff70902acf1fe00af81f4522e2a71f (diff)
Fixed make_osx_package.sh so that data paths work correctly.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index b1dc47bcb..fd31c2ecb 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -37,7 +37,9 @@ cat > "$DIST/Info.plist" <<EOF
EOF
echo Building pandoc...
-cabal install --prefix=$PREFIX -fexecutable -f-library -fhighlighting
+runghc Setup.hs configure --user --prefix=/usr/local --flags="executable -library highlighting"
+runghc Setup.hs build
+runghc Setup.hs copy --destdir=$ROOT
cp COPYING $RESOURCES/License.txt