mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 01:49:08 +01:00
Doc : add support to EPUB doc generation and exportation
This commit is contained in:
parent
242f130708
commit
3ed59a28bd
2 changed files with 20 additions and 0 deletions
|
@ -46,6 +46,22 @@ then
|
||||||
fi
|
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
|
# ALL-IN-ONE
|
||||||
if [ -n "$ALL_IN_ONE" ]
|
if [ -n "$ALL_IN_ONE" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -25,6 +25,10 @@ EXPORT_DOC_DIR=/var/www/ldapsaisie-doc
|
||||||
# If PDF is a zero length string, pdf doc export will not build
|
# If PDF is a zero length string, pdf doc export will not build
|
||||||
PDF=LdapSaisie.pdf
|
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
|
# ALL_IN_ONE export name
|
||||||
# If ALL_IN_ONE is a zero length string, all-in-one doc export will not build
|
# If ALL_IN_ONE is a zero length string, all-in-one doc export will not build
|
||||||
ALL_IN_ONE=all-in-one
|
ALL_IN_ONE=all-in-one
|
||||||
|
|
Loading…
Reference in a new issue