doc-src/Codegen/Makefile
author wenzelm
Wed, 15 Apr 2009 11:14:48 +0200
changeset 30895 bad26d8f0adf
parent 30882 d15725e84091
child 31050 555b56b66fcf
permissions -rw-r--r--
updated for Isabelle2009;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20948
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     1
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     2
## targets
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     3
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     4
default: dvi
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     5
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     6
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     7
## dependencies
9b9910b82645 initial draft
haftmann
parents:
diff changeset
     8
20989
c04bbfe71cef added makefile layer
haftmann
parents: 20948
diff changeset
     9
include ../Makefile.in
20948
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    10
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    11
NAME = codegen
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    12
28213
b52f9205a02d New outline for codegen tutorial -- draft
haftmann
parents: 26911
diff changeset
    13
FILES = $(NAME).tex Thy/document/*.tex \
30226
2f4684e2ea95 more canonical directory structure of manuals
haftmann
parents: 28213
diff changeset
    14
  style.sty ../iman.sty ../extra.sty ../isar.sty \
2f4684e2ea95 more canonical directory structure of manuals
haftmann
parents: 28213
diff changeset
    15
  ../isabelle.sty ../isabellesym.sty ../pdfsetup.sty \
2f4684e2ea95 more canonical directory structure of manuals
haftmann
parents: 28213
diff changeset
    16
  ../manual.bib ../proof.sty
20948
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    17
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    18
dvi: $(NAME).dvi
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    19
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    20
$(NAME).dvi: $(FILES) isabelle_isar.eps architecture.eps adaption.eps
20948
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    21
	$(LATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    22
	$(BIBTEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    23
	$(LATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    24
	$(LATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    25
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    26
pdf: $(NAME).pdf
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    27
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    28
$(NAME).pdf: $(FILES) isabelle_isar.pdf architecture.pdf adaption.pdf
20948
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    29
	$(PDFLATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    30
	$(BIBTEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    31
	$(PDFLATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    32
	$(PDFLATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    33
	$(FIXBOOKMARKS) $(NAME).out
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    34
	$(PDFLATEX) $(NAME)
9b9910b82645 initial draft
haftmann
parents:
diff changeset
    35
	$(PDFLATEX) $(NAME)
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    36
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    37
architecture.dvi: Thy/pictures/architecture.tex
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    38
	latex -output-directory=$(dir $@) $<
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    39
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    40
adaption.dvi: Thy/pictures/adaption.tex
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    41
	latex -output-directory=$(dir $@) $<
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    42
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    43
architecture.eps: architecture.dvi
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    44
	dvips -E -o $@ $<
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    45
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    46
adaption.eps: adaption.dvi
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    47
	dvips -E -o $@ $<
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    48
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    49
architecture.pdf: architecture.eps
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    50
	epstopdf --outfile=$@ $<
30882
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    51
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    52
adaption.pdf: adaption.eps
d15725e84091 moved generated eps/pdf to main directory, for proper display in dvi;
wenzelm
parents: 30734
diff changeset
    53
	epstopdf --outfile=$@ $<