Blame Scripts/Functions/Prepare/prepare_doManuals.sh

c01e64
#!/bin/bash
c01e64
#
c01e64
# prepare_doManuals.sh -- This option initializes documentation files
c01e64
# inside the working copy. When you provide this option, the
c01e64
# centos-art.sh script renders all documentation manuals from their
c01e64
# related source files so you can read them nicely.
c01e64
#
c01e64
# Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG
c01e64
#
c01e64
# This program is free software; you can redistribute it and/or modify
c01e64
# it under the terms of the GNU General Public License as published by
c01e64
# the Free Software Foundation; either version 2 of the License, or (at
c01e64
# your option) any later version.
c01e64
#
c01e64
# This program is distributed in the hope that it will be useful, but
c01e64
# WITHOUT ANY WARRANTY; without even the implied warranty of
c01e64
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
c01e64
# General Public License for more details.
c01e64
#
c01e64
# You should have received a copy of the GNU General Public License
c01e64
# along with this program; if not, write to the Free Software
c01e64
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
c01e64
#
c01e64
# ----------------------------------------------------------------------
c01e64
# $Id$
c01e64
# ----------------------------------------------------------------------
c01e64
c01e64
function prepare_doManuals {
c01e64
c01e64
    # The CentOS Artwork Repository User's Guide in docbook format.
c01e64
    ${CLI_BASEDIR}/${CLI_PROGRAM}.sh render \
c01e64
        trunk/Manuals/TCAR-UG/Docbook/ --filter="tcar-ug" \
c01e64
        --dont-commit-changes
c01e64
c01e64
    # The CentOS Artwork Repository User's Guide in texinfo format.
c01e64
    ${CLI_BASEDIR}/${CLI_PROGRAM}.sh help --update \
c01e64
        trunk/Manuals/TCAR-UG/Texinfo/ \
c01e64
        --dont-commit-changes
c01e64
c01e64
}