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

83dbb6
#!/bin/bash
83dbb6
#
9ebc53
# document_updateOutputFilePdf.sh -- This function exports documentation
5285d6
# manual to PDF format.
83dbb6
#
9f5f2e
# Copyright (C) 2009-2011 Alain Reguera Delgado
83dbb6
# 
83dbb6
# This program is free software; you can redistribute it and/or
83dbb6
# modify it under the terms of the GNU General Public License as
83dbb6
# published by the Free Software Foundation; either version 2 of the
83dbb6
# License, or (at your option) any later version.
83dbb6
# 
83dbb6
# This program is distributed in the hope that it will be useful, but
83dbb6
# 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
83dbb6
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
83dbb6
# USA.
83dbb6
# 
83dbb6
# ----------------------------------------------------------------------
83dbb6
# $Id$
83dbb6
# ----------------------------------------------------------------------
83dbb6
9ebc53
function document_updateOutputFilePdf {
83dbb6
83dbb6
    # Output action message.
5285d6
    cli_printMessage "${MANUAL_BASEFILE}.pdf" 'AsUpdatingLine'
83dbb6
83dbb6
    # Update plaintext output directory.
5285d6
    /usr/bin/texi2pdf --quiet \
5285d6
        ${MANUAL_BASEFILE}.texi --output=${MANUAL_BASEFILE}.pdf
5285d6
83dbb6
}