aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_osx_package.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 017806b4d..229c53f76 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -28,7 +28,7 @@ cabal clean
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
-make man
+make $MANDIR/man1/pandoc.1
# get pandoc-citeproc man page:
PANDOC_CITEPROC_PATH=`cabal unpack -d $DIST pandoc-citeproc | awk '{print $3;}'`
@@ -39,8 +39,7 @@ for f in pandoc pandoc-citeproc; do
cp $SANDBOX/bin/$f $DEST/bin/;
done
cp $PANDOC_CITEPROC_PATH/man/man1/pandoc-citeproc.1 $DEST/share/man/man1/
-$SANDBOX/bin/pandoc --man1 > $DEST/share/man/man1/pandoc.1
-$SANDBOX/bin/pandoc --man5 > $DEST/share/man/man5/pandoc_citeproc.5
+cp $MANDIR/man1/pandoc.1 $DEST/share/man/man1/pandoc.1
chown -R $ME:staff $DIST