summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-14 22:53:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-14 22:53:30 -0700
commit6bea1ad5dfb644ec8c55c9d8218a35d826a51067 (patch)
tree19d0d18942efeb89c3823ae7234dfb27e0399ecc /make_osx_package.sh
parentfb8691c2fad04d4a5a53b6a82809bfcd403a8eee (diff)
make_osx_package: Build man pages.
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 5c8336cf6..1b977a6e4 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -31,9 +31,11 @@ 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" --ghc-options "-pgmP$CPPHS -optP--cpp"
+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"
cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags="embed_data_files" pandoc-citeproc --ghc-options "-pgmP$CPPHS -optP--cpp"
+make man
+
mkdir -p $DEST/bin
mkdir -p $DEST/share/man/man1
mkdir -p $DEST/share/man/man5