summaryrefslogtreecommitdiff
path: root/make_deb.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-12-19 17:14:27 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-12-19 17:14:27 -0800
commit7a47a8f86b65bb3c01b200ad20ed62db602d5030 (patch)
treee98042f1e702e00d245e0de907ec2ecad5397774 /make_deb.sh
parent36bf76068f36ee40d7d3e75b029cf7b37ac01a6e (diff)
More lintian improvements to make_deb.sh.
* Compress man pages. * Combine copyright files for pandoc, pandoc-citeproc.
Diffstat (limited to 'make_deb.sh')
-rwxr-xr-xmake_deb.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/make_deb.sh b/make_deb.sh
index f5a075224..4274e99a5 100755
--- a/make_deb.sh
+++ b/make_deb.sh
@@ -46,13 +46,15 @@ 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/
+gzip -9 $DEST/share/man/man1/pandoc.1
cp $MANDIR/man5/pandoc_markdown.5 $DEST/share/man/man5/
+gzip -9 $DEST/share/man/man5/pandoc.5
cp $PANDOC_CITEPROC_PATH/man/man1/pandoc-citeproc.1 $DEST/share/man/man1/
+gzip -9 $DEST/share/man/man1/pandoc-citeproc.1
cp COPYING $DEST/share/doc/pandoc/COPYING
cp COPYRIGHT $DEST/share/doc/pandoc/copyright
-cp README $DEST/share/doc/pandoc/README
-cp changelog $DEST/share/doc/pandoc/changelog
-cp $PANDOC_CITEPROC_PATH/LICENSE $DEST/share/doc/pandoc-citeproc/LICENSE
+echo "\npandoc-citeproc" >> $DEST/share/doc/pandoc/copyright
+cat $PANDOC_CITEPROC_PATH/LICENSE >> $DEST/share/doc/pandoc/copyright
rm -rf make_binary_package.tmp.$$
mkdir $DIST/DEBIAN