|
|
e7414c |
#!/bin/bash
|
|
|
e7414c |
#
|
|
|
e7414c |
# texinfo_renameEntryChapter.sh -- This function standardizes renaming
|
|
|
e7414c |
# tasks related to manual chapters inside documentation manuals
|
|
|
e7414c |
# written in texinfo format.
|
|
|
e7414c |
#
|
|
|
2fe9b7 |
# Copyright (C) 2009, 2010, 2011 The CentOS Project
|
|
|
e7414c |
#
|
|
|
e7414c |
# This program is free software; you can redistribute it and/or modify
|
|
|
e7414c |
# it under the terms of the GNU General Public License as published by
|
|
|
e7414c |
# the Free Software Foundation; either version 2 of the License, or (at
|
|
|
e7414c |
# your option) any later version.
|
|
|
e7414c |
#
|
|
|
e7414c |
# This program is distributed in the hope that it will be useful, but
|
|
|
e7414c |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
e7414c |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
e7414c |
# General Public License for more details.
|
|
|
e7414c |
#
|
|
|
e7414c |
# You should have received a copy of the GNU General Public License
|
|
|
e7414c |
# along with this program; if not, write to the Free Software
|
|
|
e7414c |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
e7414c |
#
|
|
|
e7414c |
# ----------------------------------------------------------------------
|
|
|
e7414c |
# $Id$
|
|
|
e7414c |
# ----------------------------------------------------------------------
|
|
|
e7414c |
|
|
|
e7414c |
function texinfo_renameEntryChapter {
|
|
|
e7414c |
|
|
|
e7414c |
# Copy section source entry to target location.
|
|
|
e7414c |
${FLAG_BACKEND}_copyEntryChapter
|
|
|
e7414c |
|
|
|
e7414c |
# Delete section source entry.
|
|
|
e7414c |
${FLAG_BACKEND}_deleteEntryChapter
|
|
|
e7414c |
|
|
|
e7414c |
# Rename menu, nodes and cross references related entries.
|
|
|
e7414c |
${FLAG_BACKEND}_renameCrossReferences
|
|
|
e7414c |
|
|
|
e7414c |
}
|