| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_copyEntryChapter { |
| |
| |
| MANUAL_ENTRY_SRC=${MANUAL_BASEDIR_L10N}/${MANUAL_CHAP[${MANUAL_DOCENTRY_ID}]} |
| |
| |
| MANUAL_ENTRY_DST=${MANUAL_BASEDIR_L10N}/${MANUAL_CHAP[((${MANUAL_DOCENTRY_ID} + 1))]} |
| |
| |
| texinfo_checkEntrySrcDst "${MANUAL_ENTRY_SRC}" "${MANUAL_ENTRY_DST}" |
| |
| |
| |
| |
| |
| |
| local MANUAL_CHAPTER_DIR=$MANUAL_ENTRY_DST |
| local MANUAL_CHAPTER_NAME=${MANUAL_CHAP[((${MANUAL_DOCENTRY_ID} + 1))]} |
| |
| |
| |
| |
| |
| |
| |
| texinfo_createChapter |
| |
| |
| |
| |
| local MANUAL_ENTRIES=$(cli_getFilesList $MANUAL_ENTRY_SRC \ |
| --pattern="${MANUAL_ENTRY_SRC}/.+\.${MANUAL_EXTENSION}" \ |
| | egrep -v '/chapter') |
| |
| |
| for MANUAL_ENTRY in $MANUAL_ENTRIES;do |
| svn cp $MANUAL_ENTRY $MANUAL_ENTRY_DST --quiet |
| done |
| |
| |
| |
| texinfo_updateStructureSection "${MANUAL_ENTRY_DST}/.+\.${MANUAL_EXTENSION}" |
| |
| |
| |
| texinfo_updateChapterMenu |
| texinfo_updateChapterNodes |
| |
| } |