doc-src/Codegen/Makefile
author haftmann
Thu, 26 Mar 2009 13:01:09 +0100
changeset 30734 ab05be086c4a
parent 30226 2f4684e2ea95
child 30882 d15725e84091
permissions -rw-r--r--
step towards proper pictures in dvi
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
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    20
$(NAME).dvi: $(FILES) isabelle_isar.eps Thy/pictures/architecture.eps Thy/pictures/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
30734
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    28
$(NAME).pdf: $(FILES) isabelle_isar.pdf Thy/pictures/architecture.pdf Thy/pictures/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
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    37
Thy/pictures/%.dvi: Thy/pictures/%.tex
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    38
	latex -output-directory=$(dir $@) $<
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    39
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    40
Thy/pictures/%.eps: Thy/pictures/%.dvi
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    41
	dvips -E -o $@ $<
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    42
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    43
Thy/pictures/%.pdf: Thy/pictures/%.eps
ab05be086c4a step towards proper pictures in dvi
haftmann
parents: 30226
diff changeset
    44
	epstopdf --outfile=$@ $<