aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c42d7c981..017806b4d 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -31,7 +31,6 @@ cabal install --ghc-options="-optl-mmacosx-version-min=10.6" --reinstall --flags
make man
# get pandoc-citeproc man page:
PANDOC_CITEPROC_PATH=`cabal unpack -d $DIST pandoc-citeproc | awk '{print $3;}'`
-cp $PANDOC_CITEPROC_PATH/man/man1/pandoc-citeproc.1 $MANDIR/man1/
mkdir -p $DEST/bin
mkdir -p $DEST/share/man/man1
@@ -39,7 +38,7 @@ mkdir -p $DEST/share/man/man5
for f in pandoc pandoc-citeproc; do
cp $SANDBOX/bin/$f $DEST/bin/;
done
-cp $MANDIR/man1/pandoc_citeproc.1 $DEST/share/man/man1/
+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