aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_osx_package.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 6030f7032..c42d7c981 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -38,9 +38,10 @@ mkdir -p $DEST/share/man/man1
mkdir -p $DEST/share/man/man5
for f in pandoc pandoc-citeproc; do
cp $SANDBOX/bin/$f $DEST/bin/;
- cp $MANDIR/man1/$f.1 $DEST/share/man/man1/
done
-cp $MANDIR/man5/pandoc_markdown.5 $DEST/share/man/man5/
+cp $MANDIR/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
chown -R $ME:staff $DIST