Doc : add support to EPUB doc generation and exportation

This commit is contained in:
Benjamin Renard 2014-08-13 02:23:26 +02:00
parent 242f130708
commit 3ed59a28bd
2 changed files with 20 additions and 0 deletions

View File

@ -46,6 +46,22 @@ then
fi
# EPUB
if [ -n "$EPUB" ]
then
echo -en "\t- EPUB : "
# EPUB
cp -f $DOC_DIR/exports/epub/LdapSaisie.epub $EXPORT_DOC_DIR/LdapSaisie.epub
if [ $? -ne 0 ]
then
echo -e "\n-> Error"
ERROR=1
else
echo Ok
fi
fi
# ALL-IN-ONE
if [ -n "$ALL_IN_ONE" ]
then

View File

@ -25,6 +25,10 @@ EXPORT_DOC_DIR=/var/www/ldapsaisie-doc
# If PDF is a zero length string, pdf doc export will not build
PDF=LdapSaisie.pdf
# EPUB export name file
# If EPUB is a zero length string, epub doc export will not build
EPUB=LdapSaisie.epub
# ALL_IN_ONE export name
# If ALL_IN_ONE is a zero length string, all-in-one doc export will not build
ALL_IN_ONE=all-in-one