]> www.ginac.de Git - ginac.git/blob - doc/tutorial/Makefile.am
Fixed info-generation problems with VPATH builds.
[ginac.git] / doc / tutorial / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 FIG = classhierarchy.fig repnaive.fig reppair.fig repreal.fig
4 TXT = $(addsuffix .txt, $(basename $(FIG)))
5 info_TEXINFOS =
6 AM_MAKEINFOHTMLFLAGS = --no-split
7
8 if CONFIG_TEX
9 if CONFIG_FIG2DEV
10
11 # Graphics file conversion
12 PNG = $(addsuffix .png, $(basename $(FIG)))
13 EPS = $(addsuffix .eps, $(basename $(FIG)))
14 PDF = $(addsuffix .pdf, $(basename $(FIG)))
15
16 SUFFIXES = .fig .png .eps .txt
17
18 .fig.eps:
19           echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \
20           ${FIG2DEV} -L eps -m 0.9 $< $@;
21
22 .fig.pdf:
23           echo "Running ${FIG2DEV} -L pdf -m 0.9 $< $@..."; \
24           ${FIG2DEV} -L pdf -m 0.9 $< $@
25
26 .fig.png:
27         @echo "Running ${FIG2DEV} -L png $< $@..."; \
28           ${FIG2DEV} -L png $< $@
29
30
31 info_TEXINFOS += ginac.texi
32
33 ginac.pdf: $(PDF)
34 ginac.dvi: $(EPS)
35 ginac.html: $(PNG)
36 CLEANFILES = $(EPS) $(PDF) $(PNG)
37 ## CONFIG_FIG2DEV
38 endif
39 ## CONFIG_TEX
40 endif
41
42 EXTRA_DIST = $(FIG) $(TXT)