| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_updateOutputFileXhtml { |
| |
| |
| cli_printMessage "${MANUAL_OUTPUT_BASEFILE}.xhtml.tar.bz2" --as-creating-line |
| |
| |
| cli_checkFiles -e ${MANUAL_TEMPLATE}/manual-init.pl |
| cli_checkFiles -e ${MANUAL_TEMPLATE_L10N}/manual-init.pl |
| |
| |
| cli_checkFiles -e ${MANUAL_TEMPLATE}/manual.sed |
| cli_checkFiles -e ${MANUAL_TEMPLATE_L10N}/manual.sed |
| |
| |
| |
| if [[ -d ${MANUAL_OUTPUT_BASEFILE}-xhtml ]];then |
| rm -r ${MANUAL_OUTPUT_BASEFILE}-xhtml |
| fi |
| |
| |
| mkdir -p ${MANUAL_OUTPUT_BASEFILE}-xhtml |
| |
| |
| |
| |
| pushd ${MANUAL_OUTPUT_BASEFILE}-xhtml > /dev/null |
| |
| |
| |
| texi2html --lang=${CLI_LANG_LL} \ |
| --init-file=${MANUAL_TEMPLATE}/manual-init.pl \ |
| --init-file=${MANUAL_TEMPLATE_L10N}/manual-init.pl \ |
| -I ${TCAR_WORKDIR} \ |
| --output=${MANUAL_OUTPUT_BASEFILE}-xhtml \ |
| ${MANUAL_BASEFILE}.${MANUAL_EXTENSION} |
| |
| |
| |
| |
| ln -s ${TCAR_WORKDIR}/trunk/Identity/Webenv/Themes/Default/Docbook/1.69.1/Css Css |
| ln -s ${TCAR_WORKDIR}/trunk/Identity/Images/Webenv Images |
| |
| |
| |
| popd > /dev/null |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| sed -r -i \ |
| -f ${MANUAL_TEMPLATE}/manual.sed \ |
| -f ${MANUAL_TEMPLATE_L10N}/manual.sed \ |
| ${MANUAL_OUTPUT_BASEFILE}-xhtml/*.xhtml |
| |
| |
| |
| |
| |
| tar -cjf ${MANUAL_OUTPUT_BASEFILE}.xhtml.tar.bz2 ${MANUAL_OUTPUT_BASEFILE}-xhtml > /dev/null 2>&1 |
| |
| } |