summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-30 22:47:13 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-30 22:47:13 -0700
commit6862aa26871071a5e9072e32f559321af3f88793 (patch)
tree62a5860e2114e927746b7f11f309e1cda3bc2589 /make_osx_package.sh
parent977ee0cb696c11735754fd2ad1dfad1386720060 (diff)
Fixed man page building in make_osx_package.sh.
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 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