build epub

This commit is contained in:
Gwenhael Le Moine 2013-04-12 11:39:18 +02:00
parent 51d9682cf3
commit 605ee38e75

View file

@ -32,9 +32,10 @@ fi
mkdir -p $TMP
cp -R $REPOSITORIES/$PRGNAM $TMP
cd $TMP/$PRGNAM
make html
make html epub
mkdir -p $PKG$PREFIX/doc/
mv .build/html $PKG$PREFIX/doc/$PRGNAM
cp -R .build/html $PKG$PREFIX/doc/$PRGNAM
cp .build/epub/*.epub $PKG$PREFIX/doc/$PRGNAM
ebook-convert $PKG$PREFIX/doc/$PRGNAM/index.html \
$PKG$PREFIX/doc/$PRGNAM/$PRGNAM.epub \