Blame Scripts/Functions/Help/Texinfo/texinfo_updateOutputFileDocbook.sh

e5bc4e
#!/bin/bash
e5bc4e
#
993f6a
# texinfo_updateOutputFileDocbook.sh -- This function exports
e5bc4e
# documentation manual to DocBook format.
e5bc4e
#
e5bc4e
# Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG
e5bc4e
#
e5bc4e
# This program is free software; you can redistribute it and/or modify
e5bc4e
# it under the terms of the GNU General Public License as published by
e5bc4e
# the Free Software Foundation; either version 2 of the License, or (at
e5bc4e
# your option) any later version.
e5bc4e
#
e5bc4e
# This program is distributed in the hope that it will be useful, but
e5bc4e
# WITHOUT ANY WARRANTY; without even the implied warranty of
e5bc4e
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e5bc4e
# General Public License for more details.
e5bc4e
#
e5bc4e
# You should have received a copy of the GNU General Public License
e5bc4e
# along with this program; if not, write to the Free Software
e5bc4e
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
e5bc4e
#
e5bc4e
# ----------------------------------------------------------------------
e5bc4e
# $Id$
e5bc4e
# ----------------------------------------------------------------------
e5bc4e
993f6a
function texinfo_updateOutputFileDocbook {
e5bc4e
e5bc4e
    # Print action message.
1b2f82
    cli_printMessage "${MANUAL_BASEFILE}.docbook" --as-response-line
e5bc4e
e5bc4e
    # Update xml output format.
e5bc4e
    /usr/bin/makeinfo --docbook --output=${MANUAL_BASEFILE}.docbook \
e5bc4e
        ${MANUAL_BASEFILE}.${MANUAL_EXTENSION} --no-warn
e5bc4e
e5bc4e
}