OpenCores
URL https://opencores.org/ocsvn/mini_aes/mini_aes/trunk

Subversion Repositories mini_aes

[/] [mini_aes/] [trunk/] [doc/] [acrobat_view] - Diff between revs 2 and 12

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 2 Rev 12
#!/bin/sh
#!/bin/sh
# $Id: acrobat_view,v 1.1.1.1 2005-12-06 02:47:48 arif_endro Exp $
# $Id: acrobat_view,v 1.1.1.1 2005-12-06 02:47:48 arif_endro Exp $
# Generate pdf file then view using acrobat
# Generate pdf file then view using acrobat
SOURCE="mini_aes"
SOURCE="mini_aes"
INPUT="${SOURCE}.tex"
INPUT="${SOURCE}.tex"
ACROREAD="`which acroread`"
ACROREAD="`which acroread`"
# ACROREAD="/opt/acroread-5.0.8/bin/acroread"
# ACROREAD="/opt/acroread-5.0.8/bin/acroread"
if [ -f ${INPUT} ]
if [ -f ${INPUT} ]
then
then
        # Clean up and regenerate dvi file
        # Clean up and regenerate dvi file
        make real_clean dvi
        make real_clean dvi
fi
fi
INTERMEDIATE="${SOURCE}.dvi"
INTERMEDIATE="${SOURCE}.dvi"
if [ -f ${INTERMEDIATE} ]
if [ -f ${INTERMEDIATE} ]
then
then
        # Generate ps pdf and clean auxiliary file
        # Generate ps pdf and clean auxiliary file
        make -B dvi ps pdf clean
        make -B dvi ps pdf clean
fi
fi
# View using acrobat reader
# View using acrobat reader
FILE="${SOURCE}.pdf"
FILE="${SOURCE}.pdf"
if [ -f ${FILE} ]
if [ -f ${FILE} ]
then
then
        ${ACROREAD} ${FILE}
        ${ACROREAD} ${FILE}
fi
fi
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.