summaryrefslogtreecommitdiff
path: root/extras/mkpdf.sh
blob: 6ea7e082e8d4bfd8ddecd093863cdc37cd576f8b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# See COPYING file for copyright and license details.
#
# Makes a PDF
# Requires imagemagick

test $# -ne 1 && echo "Usage: $0 bookdir" && exit 1

cd "$1" && convert * book.pdf
echo "$1/book.pdf"