From 5e10375abcbcb9ead75e77ca3038020cca646260 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Jun 2015 22:43:11 -0700 Subject: make_osx_package.sh: Create man pages using pandoc. --- make_osx_package.sh | 5 +++-- 1 file 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 -- cgit v1.2.3