Blame Scripts/Bash/Cli/Functions/Document/document_updateOutputFileXml.sh

5285d6
#!/bin/bash
5285d6
#
9ebc53
# document_updateOutputFileXml.sh -- This function exports documentation
5285d6
# manual to XML format.
5285d6
#
5285d6
# Copyright (C) 2009-2011 Alain Reguera Delgado
5285d6
# 
5285d6
# This program is free software; you can redistribute it and/or
5285d6
# modify it under the terms of the GNU General Public License as
5285d6
# published by the Free Software Foundation; either version 2 of the
5285d6
# License, or (at your option) any later version.
5285d6
# 
5285d6
# This program is distributed in the hope that it will be useful, but
5285d6
# WITHOUT ANY WARRANTY; without even the implied warranty of
5285d6
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
5285d6
# General Public License for more details.
5285d6
#
5285d6
# You should have received a copy of the GNU General Public License
5285d6
# along with this program; if not, write to the Free Software
5285d6
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
5285d6
# USA.
5285d6
# 
5285d6
# ----------------------------------------------------------------------
5285d6
# $Id$
5285d6
# ----------------------------------------------------------------------
5285d6
9ebc53
function document_updateOutputFileXml {
5285d6
1e816e
    # Print action message.
5285d6
    cli_printMessage "${MANUAL_BASEFILE}.xml" 'AsUpdatingLine'
5285d6
1e816e
    # Update xml output format.
5285d6
    /usr/bin/makeinfo --xml \
5285d6
        ${MANUAL_BASEFILE}.texi --output=${MANUAL_BASEFILE}.xml \
5285d6
5285d6
}