aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-29 22:43:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-29 22:43:11 -0700
commit5e10375abcbcb9ead75e77ca3038020cca646260 (patch)
tree72b370015927a12c8b0b55175671e7df49d74c0e
parente1a6110cc2b1afb8019350a3222eda73f63b59ac (diff)
downloadpandoc-5e10375abcbcb9ead75e77ca3038020cca646260.tar.gz
make_osx_package.sh: Create man pages using pandoc.
-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