summaryrefslogtreecommitdiff
path: root/make_deb.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-24 22:06:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-24 22:06:53 -0700
commit0914f7f713e0c319f017e00710e70a64a495b11e (patch)
treeebbe7e78a0bae1ac4d515d2c095285472016c3b7 /make_deb.sh
parentf8e58dea023529b8cee188f8c4a4e2e3d386455d (diff)
make_deb: changed path for man page.
stack doesn't install it as cabal did.
Diffstat (limited to 'make_deb.sh')
-rwxr-xr-xmake_deb.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make_deb.sh b/make_deb.sh
index ed630960f..a4d1364f4 100755
--- a/make_deb.sh
+++ b/make_deb.sh
@@ -27,6 +27,7 @@ which hsb2hs || stack install --stack-yaml stack.hsb2hs.yaml
stack install --stack-yaml deb/stack.yaml
+make man/pandoc.1
# get pandoc-citeproc man page:
PANDOC_CITEPROC_VERSION=`pandoc-citeproc --version | awk '{print $2;}'`
PANDOC_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
find $DIST -type d | xargs chmod 755
cp $LOCAL/bin/pandoc $DEST/bin/
cp $LOCAL/bin/pandoc-citeproc $DEST/bin/
-cp $LOCAL/share/man/man1/pandoc.1 $DEST/share/man/man1/pandoc.1
+cp man/pandoc.1 $DEST/share/man/man1/pandoc.1
gzip -9 $DEST/share/man/man1/pandoc.1
cp ${PANDOC_CITEPROC_pATH}/man/man1/pandoc-citeproc.1 $DEST/share/man/man1/
gzip -9 $DEST/share/man/man1/pandoc-citeproc.1