doc-src/Locales/Makefile
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 27076 e104481d289d
child 43382 bf89455ccf9d
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
ballarin@14586
     1
#
ballarin@14586
     2
# $Id$
ballarin@14586
     3
#
ballarin@14586
     4
ballarin@14586
     5
## targets
ballarin@14586
     6
ballarin@14586
     7
default: dvi
ballarin@14586
     8
ballarin@14586
     9
ballarin@14586
    10
## dependencies
ballarin@14586
    11
ballarin@14586
    12
include ../Makefile.in
ballarin@14586
    13
ballarin@14586
    14
NAME = locales
ballarin@14586
    15
wenzelm@17135
    16
FILES = Locales/document/root.tex Locales/document/root.bib \
ballarin@27063
    17
  Locales/document/session.tex Locales/document/Examples.tex \
ballarin@27063
    18
  Locales/document/Examples1.tex Locales/document/Examples2.tex \
ballarin@27063
    19
  Locales/document/Examples3.tex \
wenzelm@26916
    20
  ../isabelle.sty ../isabellesym.sty ../pdfsetup.sty 
ballarin@14586
    21
ballarin@14586
    22
dvi: $(NAME).dvi
ballarin@14586
    23
ballarin@14586
    24
$(NAME).dvi: $(FILES)
wenzelm@27076
    25
	cd Locales/document && \
wenzelm@27076
    26
	$(LATEX) root && \
wenzelm@27076
    27
	$(BIBTEX) root && \
wenzelm@27076
    28
	$(LATEX) root && \
wenzelm@27076
    29
	$(LATEX) root && \
wenzelm@27076
    30
	$(LATEX) root
wenzelm@27076
    31
	mv Locales/document/root.dvi $(NAME).dvi
ballarin@14586
    32
ballarin@14586
    33
pdf: $(NAME).pdf
ballarin@14586
    34
ballarin@14586
    35
$(NAME).pdf: $(FILES)
wenzelm@27076
    36
	cd Locales/document && \
wenzelm@27076
    37
	$(PDFLATEX) root && \
wenzelm@27076
    38
	$(BIBTEX) root && \
wenzelm@27076
    39
	$(PDFLATEX) root && \
wenzelm@27076
    40
	$(PDFLATEX) root && \
wenzelm@27076
    41
	$(PDFLATEX) root
wenzelm@27076
    42
	mv Locales/document/root.pdf $(NAME).pdf