git.iko.soy/typeable/pandoc
on master help sign in
make_deb: changed path for man page.

stack doesn't install it as cabal did.

commit0914f7f713e0c319f017e00710e70a64a495b11e authorJohn MacFarlane <jgm@berkeley.edu> dateSat 24 Oct 2015, 22:06 (11 years ago) parentf8e58de
1 file changed+2−1
make_deb.sh+2−1
make_deb.sh+2−1
@@ -27,6 +27,7 @@ which hsb2hs || stack install --stack-yaml stack.hsb2hs.yaml
2727
2828stack install --stack-yaml deb/stack.yaml
2929
30+make man/pandoc.1
3031# get pandoc-citeproc man page:
3132PANDOC_CITEPROC_VERSION=`pandoc-citeproc --version | awk '{print $2;}'`
3233PANDOC_CITEPROC_TARBALL=https://hackage.haskell.org/package/pandoc-citeproc-${PANDOC_CITEPROC_VERSION}/pandoc-citeproc-${PANDOC_CITEPROC_VERSION}.tar.gz
@@ -44,7 +45,7 @@ mkdir -p $DEST/share/doc/pandoc-citeproc
4445find $DIST -type d | xargs chmod 755
4546cp $LOCAL/bin/pandoc $DEST/bin/
4647cp $LOCAL/bin/pandoc-citeproc $DEST/bin/
47−cp $LOCAL/share/man/man1/pandoc.1 $DEST/share/man/man1/pandoc.1
48+cp man/pandoc.1 $DEST/share/man/man1/pandoc.1
4849gzip -9 $DEST/share/man/man1/pandoc.1
4950cp ${PANDOC_CITEPROC_pATH}/man/man1/pandoc-citeproc.1 $DEST/share/man/man1/
5051gzip -9 $DEST/share/man/man1/pandoc-citeproc.1