doc-src/Codegen/Makefile
author blanchet
Mon, 06 Jun 2011 20:36:35 +0200
changeset 43187 95bd1ef1331a
parent 42511 bf89455ccf9d
permissions -rw-r--r--
make resolution replay more robust, in case Metis distinguishes between two literals that are merged in Isabelle (e.g. because they carry more or less type annotations in Metis)


## targets

default: dvi


## dependencies

include ../Makefile.in

NAME = codegen

FILES = $(NAME).tex Thy/document/*.tex \
  style.sty ../iman.sty ../extra.sty ../isar.sty \
  ../../lib/texinputs/isabelle.sty ../../lib/texinputs/isabellesym.sty ../pdfsetup.sty \
  ../manual.bib ../proof.sty

dvi: $(NAME).dvi

$(NAME).dvi: $(FILES) isabelle_isar.eps architecture.eps adaptation.eps
	$(LATEX) $(NAME)
	$(BIBTEX) $(NAME)
	$(LATEX) $(NAME)
	$(LATEX) $(NAME)

pdf: $(NAME).pdf

$(NAME).pdf: $(FILES) isabelle_isar.pdf architecture.pdf adaptation.pdf
	$(PDFLATEX) $(NAME)
	$(BIBTEX) $(NAME)
	$(PDFLATEX) $(NAME)
	$(PDFLATEX) $(NAME)
	$(FIXBOOKMARKS) $(NAME).out
	$(PDFLATEX) $(NAME)
	$(PDFLATEX) $(NAME)

architecture.dvi: Thy/pictures/architecture.tex
	latex -output-directory=$(dir $@) $<

adaptation.dvi: Thy/pictures/adaptation.tex
	latex -output-directory=$(dir $@) $<

architecture.eps: architecture.dvi
	dvips -E -o $@ $<

adaptation.eps: adaptation.dvi
	dvips -E -o $@ $<

architecture.pdf: architecture.eps
	epstopdf --outfile=$@ $<

adaptation.pdf: adaptation.eps
	epstopdf --outfile=$@ $<