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

Subversion Repositories mini_aes

[/] [mini_aes/] [trunk/] [doc/] [acrobat_view] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 arif_endro
#!/bin/sh
2
 
3
# $Id: acrobat_view,v 1.1.1.1 2005-12-06 02:47:48 arif_endro Exp $
4
# Generate pdf file then view using acrobat
5
 
6
SOURCE="mini_aes"
7
INPUT="${SOURCE}.tex"
8
ACROREAD="`which acroread`"
9
# ACROREAD="/opt/acroread-5.0.8/bin/acroread"
10
 
11
if [ -f ${INPUT} ]
12
then
13
        # Clean up and regenerate dvi file
14
        make real_clean dvi
15
fi
16
 
17
INTERMEDIATE="${SOURCE}.dvi"
18
if [ -f ${INTERMEDIATE} ]
19
then
20
        # Generate ps pdf and clean auxiliary file
21
        make -B dvi ps pdf clean
22
fi
23
 
24
# View using acrobat reader
25
FILE="${SOURCE}.pdf"
26
if [ -f ${FILE} ]
27
then
28
        ${ACROREAD} ${FILE}
29
fi

powered by: WebSVN 2.1.0

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