| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function help_copyEntry { |
| |
| local ENTRY_SRC=${ENTRY} |
| local ENTRY_DST=${FLAG_TO} |
| local ENTRIES='' |
| local ENTRY='' |
| |
| |
| cli_printMessage "${ENTRY_DST}" 'AsCreatingLine' |
| |
| |
| if [[ ! -f ${ENTRY_DST} ]];then |
| svn cp "${ENTRY_SRC}" "${ENTRY_DST}" --quiet |
| fi |
| |
| |
| |
| ENTRY_DST=$(echo ${ENTRY_DST} | sed -r 's!\.texi$!!') |
| |
| |
| if [[ ! -d ${ENTRY_DST} ]];then |
| cli_printMessage "${ENTRY_DST}" 'AsCreatingLine' |
| svn cp "${ENTRY_DIR}/${ENTRY_FILE}" "${ENTRY_DST}" --quiet |
| fi |
| |
| |
| ENTRIES=$(cli_getFilesList "$(dirname ${ENTRY_DST})" "$(basename ${ENTRY_DST}).*\.texi") |
| |
| |
| cli_printActionPreamble "${ENTRIES}" '' '' |
| |
| |
| cli_printMessage '-' 'AsSeparatorLine' |
| |
| |
| cli_printMessage "Updating manual menus, nodes and cross-references." 'AsResponseLine' |
| |
| |
| |
| for ENTRY in ${ENTRIES};do |
| |
| |
| |
| help_updateMenu |
| help_updateNodes |
| |
| |
| |
| help_restoreCrossReferences |
| |
| done |
| |
| } |