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

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

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