diff --git a/buildDocExports.sh b/buildDocExports.sh index bb44e80e..3a787e52 100755 --- a/buildDocExports.sh +++ b/buildDocExports.sh @@ -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 diff --git a/config.local/local.sh.example b/config.local/local.sh.example index 8ebd4801..c765a9e5 100644 --- a/config.local/local.sh.example +++ b/config.local/local.sh.example @@ -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