1 ## Process this file with automake to produce Makefile.in
3 # Graphics file conversion
4 FIG = classhierarchy.fig repnaive.fig reppair.fig repreal.fig
5 PNG = $(addsuffix .png, $(basename $(FIG)))
6 EPS = $(addsuffix .eps, $(basename $(FIG)))
8 SUFFIXES = .fig .png .eps
11 @if [ "${FIG2DEV}" ]; then \
12 echo "Running ${FIG2DEV} -L ps -m 0.8 $< $@..."; \
13 ${FIG2DEV} -L ps -m 0.8 $< $@; \
15 echo "warning: fig2dev was not found by configure"; \
19 @if [ "${FIG2DEV}" ]; then \
20 echo "Running ${FIG2DEV} -L png $< $@..."; \
21 ${FIG2DEV} -L png $< $@; \
23 echo "warning: fig2dev was not found by configure"; \
26 info_TEXINFOS = ginac.texi
30 ginac.html: ginac.texi version.texi $(PNG)
32 && $(MAKEINFO) --html `echo $< | sed 's,.*/,,'`
34 ginacdocdir = $(datadir)/doc/GiNaC
35 ginactutorialdir = $(ginacdocdir)/tutorial
36 ginactutorial_DATA = @TUTORIAL_TARGETS@
38 CLEANFILES = $(EPS) $(PNG) ginac.html
42 @for p in $(PNG); do \
43 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
44 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
48 @for p in $(PNG); do \
49 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
50 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \