doc-src/Codegen/Makefile
author haftmann
Thu Mar 26 13:01:09 2009 +0100 (2009-03-26)
changeset 30734 ab05be086c4a
parent 30226 2f4684e2ea95
child 30882 d15725e84091
permissions -rw-r--r--
step towards proper pictures in dvi
haftmann@20948
     1
haftmann@20948
     2
## targets
haftmann@20948
     3
haftmann@20948
     4
default: dvi
haftmann@20948
     5
haftmann@20948
     6
haftmann@20948
     7
## dependencies
haftmann@20948
     8
haftmann@20989
     9
include ../Makefile.in
haftmann@20948
    10
haftmann@20948
    11
NAME = codegen
haftmann@20948
    12
haftmann@28213
    13
FILES = $(NAME).tex Thy/document/*.tex \
haftmann@30226
    14
  style.sty ../iman.sty ../extra.sty ../isar.sty \
haftmann@30226
    15
  ../isabelle.sty ../isabellesym.sty ../pdfsetup.sty \
haftmann@30226
    16
  ../manual.bib ../proof.sty
haftmann@20948
    17
haftmann@20948
    18
dvi: $(NAME).dvi
haftmann@20948
    19
haftmann@30734
    20
$(NAME).dvi: $(FILES) isabelle_isar.eps Thy/pictures/architecture.eps Thy/pictures/adaption.eps
haftmann@20948
    21
	$(LATEX) $(NAME)
haftmann@20948
    22
	$(BIBTEX) $(NAME)
haftmann@20948
    23
	$(LATEX) $(NAME)
haftmann@20948
    24
	$(LATEX) $(NAME)
haftmann@20948
    25
haftmann@20948
    26
pdf: $(NAME).pdf
haftmann@20948
    27
haftmann@30734
    28
$(NAME).pdf: $(FILES) isabelle_isar.pdf Thy/pictures/architecture.pdf Thy/pictures/adaption.pdf
haftmann@20948
    29
	$(PDFLATEX) $(NAME)
haftmann@20948
    30
	$(BIBTEX) $(NAME)
haftmann@20948
    31
	$(PDFLATEX) $(NAME)
haftmann@20948
    32
	$(PDFLATEX) $(NAME)
haftmann@20948
    33
	$(FIXBOOKMARKS) $(NAME).out
haftmann@20948
    34
	$(PDFLATEX) $(NAME)
haftmann@20948
    35
	$(PDFLATEX) $(NAME)
haftmann@30734
    36
haftmann@30734
    37
Thy/pictures/%.dvi: Thy/pictures/%.tex
haftmann@30734
    38
	latex -output-directory=$(dir $@) $<
haftmann@30734
    39
haftmann@30734
    40
Thy/pictures/%.eps: Thy/pictures/%.dvi
haftmann@30734
    41
	dvips -E -o $@ $<
haftmann@30734
    42
haftmann@30734
    43
Thy/pictures/%.pdf: Thy/pictures/%.eps
haftmann@30734
    44
	epstopdf --outfile=$@ $<