aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_deb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_deb.sh b/make_deb.sh
index 1cae959a9..9c3ef2b4d 100755
--- a/make_deb.sh
+++ b/make_deb.sh
@@ -44,9 +44,9 @@ mkdir -p $DEST/share/doc/pandoc-citeproc
find $DIST -type d | xargs chmod 755
cp $SANDBOX/bin/pandoc $DEST/bin/
cp $SANDBOX/bin/pandoc-citeproc $DEST/bin/
-cp $MANDIR/man1/pandoc.1 $DEST/share/man/man1/
+$SANDBOX/bin/pandoc --man1 > $DEST/share/man/man1/pandoc.1
gzip -9 $DEST/share/man/man1/pandoc.1
-cp $MANDIR/man5/pandoc_markdown.5 $DEST/share/man/man5/
+$SANDBOX/bin/pandoc --man5 > $DEST/share/man/man5/pandoc_markdown.5
gzip -9 $DEST/share/man/man5/pandoc_markdown.5
cp $PANDOC_CITEPROC_PATH/man/man1/pandoc-citeproc.1 $DEST/share/man/man1/
gzip -9 $DEST/share/man/man1/pandoc-citeproc.1