1 |
# -- require automake 1.6 |
# -- require automake 1.6 |
2 |
AUTOMAKE_OPTIONS = 1.6 |
AUTOMAKE_OPTIONS = 1.6 |
3 |
|
|
4 |
# -- document sources |
# -- document sources |
5 |
TEXFILES = \ |
TEXFILES = \ |
6 |
characters.tex \ |
characters.tex \ |
7 |
locations.tex \ |
intro.tex \ |
8 |
main-plot.tex \ |
locations.tex \ |
9 |
plot-0.4.tex \ |
main-plot.tex \ |
10 |
side-quest.tex |
plot-0.4.tex \ |
11 |
|
side-quest.tex \ |
12 |
# -- image files |
synopsis.tex |
13 |
IMAGES = \ |
|
14 |
help_dwarves.pdf \ |
# -- image files |
15 |
help_men_of_knife.pdf \ |
IMAGES = \ |
16 |
help_monks.pdf \ |
help_dwarves.pdf \ |
17 |
locate_alek.pdf \ |
help_men_of_knife.pdf \ |
18 |
map.pdf \ |
help_monks.pdf \ |
19 |
plot.pdf |
locate_alek.pdf \ |
20 |
|
map.pdf \ |
21 |
# -- what should be distributed |
plot.pdf |
22 |
EXTRA_DIST = ${TEXFILES} \ |
|
23 |
help_dwarves.dot \ |
# -- what should be distributed |
24 |
help_men_of_knife.dot \ |
EXTRA_DIST = ${TEXFILES} \ |
25 |
help_monks.dot \ |
help_dwarves.dot \ |
26 |
locate_alek.dot \ |
help_men_of_knife.dot \ |
27 |
map.fig \ |
help_monks.dot \ |
28 |
map.png \ |
locate_alek.dot \ |
29 |
plot.dot |
map.fig \ |
30 |
|
map.png \ |
31 |
# -- installation target |
plot.dot |
32 |
docdir = ${prefix}/doc/adonthell |
|
33 |
doc_DATA = plot-0.4.pdf |
# -- installation target |
34 |
|
docdir = ${prefix}/doc/adonthell |
35 |
# -- build the PDF file |
doc_DATA = plot-0.4.pdf |
36 |
plot-0.4.pdf: ${IMAGES} ${TEXFILES} |
|
37 |
@if test ! -e plot-0.4.toc ; then \ |
# -- build the PDF file |
38 |
${PDFLATEX} plot-0.4.tex; \ |
plot-0.4.pdf: ${IMAGES} ${TEXFILES} |
39 |
fi |
@if test ! -e plot-0.4.toc ; then \ |
40 |
${PDFLATEX} plot-0.4.tex |
${PDFLATEX} plot-0.4.tex; \ |
41 |
@if test `grep -c "Label(s) may have changed." plot-0.4.log` -gt 0 ; then \ |
fi |
42 |
${PDFLATEX} plot-0.4.tex; \ |
${PDFLATEX} plot-0.4.tex |
43 |
fi |
@if test `grep -c "Label(s) may have changed." plot-0.4.log` -gt 0 ; then \ |
44 |
|
${PDFLATEX} plot-0.4.tex; \ |
45 |
# -- misc rules |
fi |
46 |
%.pdf: %.eps |
|
47 |
${EPS2PDF} $< |
# -- misc rules |
48 |
|
%.pdf: %.eps |
49 |
%.eps: %.ps |
${EPS2PDF} $< |
50 |
${PS2EPS} -f $< |
|
51 |
|
%.eps: %.ps |
52 |
%.eps: %.fig |
${PS2EPS} -f $< |
53 |
${FIG2DEV} -Leps $< $@ |
|
54 |
|
%.eps: %.fig |
55 |
%.ps: %.dot |
${FIG2DEV} -Leps $< $@ |
56 |
${DOT} -Tps2 -o $@ $< |
|
57 |
|
%.ps: %.dot |
58 |
# -- actual target |
${DOT} -Tps2 -o $@ $< |
59 |
CLEANFILES = plot-0.4.pdf |
|
60 |
|
# -- actual target |
61 |
# -- temporary stuff |
CLEANFILES = plot-0.4.pdf |
62 |
MOSTLYCLEANFILES = $(IMAGES) *.ps *.eps *.aux *.log *.out *.toc |
|
63 |
|
# -- temporary stuff |
64 |
|
MOSTLYCLEANFILES = $(IMAGES) *.ps *.eps *.aux *.log *.out *.toc |