summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-27 13:24:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-27 13:24:01 -0700
commit067dcb921a115e94a6b9460a22b7486aade4cbb2 (patch)
tree3f1f4f18702c5110ddb9e271d3a6ae85cb413eac /make_osx_package.sh
parent3b28e505c2a0b014e96855ad5b543bf5687b656a (diff)
make_osx_package.sh: don't use cpphs.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 6030f7032..df0fc8554 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -12,7 +12,6 @@ SCRIPTS=$OSX/osx-resources
BASE=pandoc-$VERSION
ME=$(whoami)
PACKAGEMAKER=/Applications/PackageMaker.app/Contents/MacOS/PackageMaker
-CPPHS=$SANDBOX/bin/cpphs
# echo Removing old files...
rm -rf $DIST
@@ -26,7 +25,7 @@ echo Building pandoc...
cabal clean
# Use cpphs to avoid problems with clang cpp on ghc 7.8 osx:
cabal install cpphs hsb2hs
-cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files make-pandoc-man-pages" --ghc-options "-pgmP$CPPHS -optP--cpp" . pandoc-citeproc
+cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files make-pandoc-man-pages" . pandoc-citeproc
make man
# get pandoc-citeproc man page: