Blame Scripts/Functions/Help/help_updateOutputFilePdf.sh

83dbb6
#!/bin/bash
83dbb6
#
0211a4
# help_updateOutputFilePdf.sh -- This function exports documentation
5285d6
# manual to PDF format.
83dbb6
#
2d3646
# Copyright (C) 2009, 2010, 2011 The CentOS Project
fa95b1
#
fa95b1
# This program is free software; you can redistribute it and/or modify
fa95b1
# it under the terms of the GNU General Public License as published by
dcd347
# the Free Software Foundation; either version 2 of the License, or (at
dcd347
# your option) any later version.
fa95b1
#
74a058
# This program is distributed in the hope that it will be useful, but
74a058
# WITHOUT ANY WARRANTY; without even the implied warranty of
83dbb6
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
83dbb6
# General Public License for more details.
83dbb6
#
83dbb6
# You should have received a copy of the GNU General Public License
83dbb6
# along with this program; if not, write to the Free Software
dcd347
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
7ac5a5
#
83dbb6
# ----------------------------------------------------------------------
83dbb6
# $Id$
83dbb6
# ----------------------------------------------------------------------
83dbb6
0211a4
function help_updateOutputFilePdf {
83dbb6
83dbb6
    # Output action message.
18be6e
    cli_printMessage "${MANUAL_BASEFILE}.pdf" --as-updating-line
83dbb6
83dbb6
    # Update plaintext output directory.
5285d6
    /usr/bin/texi2pdf --quiet \
5285d6
        ${MANUAL_BASEFILE}.texi --output=${MANUAL_BASEFILE}.pdf
5285d6
83dbb6
}