| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| 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)") |
| |
| |
| |
| 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 |
| |
| |
| for MANUAL_CHAPTER in ${MANUAL_CHAPTERS};do |
| |
| |
| cli_printMessage "${MANUAL_BASEDIR_L10N}" --as-creating-line |
| |
| |
| |
| cli_runFnEnvironment vcs --copy ${MANUAL_CHAPTER} ${MANUAL_BASEDIR_L10N} |
| |
| |
| local MANUAL_CHAPTER_NAME=$(basename ${MANUAL_CHAPTER}) |
| |
| |
| |
| texinfo_updateChapterMenu |
| texinfo_updateChapterNodes |
| |
| done |
| |
| } |