| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_copyEntryManual { |
| |
| |
| |
| local MANUAL_CHAPTER='' |
| local MANUAL_CHAPTERS=$(cli_getFilesList ${MANUAL_BASEDIR_L10N} \ |
| --maxdepth=1 --mindepth=1 --type="d" --pattern='.+' \ |
| | egrep -v "(Licenses|\.svn|${MANUAL_NAME}-xhtml)$") |
| |
| |
| |
| local MANUAL_NAME=${MANUAL_SLFN[((${MANUAL_DOCENTRY_ID} + 1))]} |
| |
| |
| |
| local MANUAL_BASEDIR="$(echo $MANUAL_BASEDIR \ |
| | sed -r "s!${MANUAL_DIRN[${MANUAL_DOCENTRY_ID}]}!${MANUAL_DIRN[((${MANUAL_DOCENTRY_ID} + 1))]}!")" |
| |
| |
| |
| local MANUAL_BASEDIR_L10N="${MANUAL_BASEDIR}/${MANUAL_L10N}" |
| |
| |
| |
| local MANUAL_BASEFILE="${MANUAL_BASEDIR_L10N}/${MANUAL_NAME}" |
| |
| |
| texinfo_createStructure |
| |
| |
| cli_printMessage "`gettext "Updating chapter menus and nodes inside manual structure."`" --as-response-line |
| |
| |
| for MANUAL_CHAPTER in ${MANUAL_CHAPTERS};do |
| |
| |
| |
| svn cp ${MANUAL_CHAPTER} ${MANUAL_BASEDIR_L10N} --quiet |
| |
| |
| local MANUAL_CHAPTER_NAME=$(basename ${MANUAL_CHAPTER}) |
| |
| |
| |
| texinfo_updateChapterMenu |
| texinfo_updateChapterNodes |
| |
| done |
| |
| } |