generate epub version

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2013-03-25 22:39:13 +01:00
parent b65947b0f6
commit d116446b2d

View file

@ -36,6 +36,15 @@ make html
mkdir -p $PKG$PREFIX/doc/
mv .build/html $PKG$PREFIX/doc/$PRGNAM
ebook-convert $PKG$PREFIX/doc/$PRGNAM/index.html \
$PKG$PREFIX/doc/$PRGNAM/$PRGNAM.epub \
--authors="Lincoln Loop" \
--author-sort="Lincoln Loop" \
--title="Django Best Practices" \
--title-sort="Django Best Practices" \
--language=English \
--rating=5
( cd $PKG
mkdir -p install
cat <<EOF > install/slack-desc