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)))
7 TXT = $(addsuffix .txt, $(basename $(FIG)))
9 SUFFIXES = .fig .png .eps .txt
12 @if [ "${FIG2DEV}" ]; then \
13 echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \
14 ${FIG2DEV} -L eps -m 0.9 $< $@; \
16 echo "warning: fig2dev was not found by configure"; \
20 @if [ "${FIG2DEV}" ]; then \
21 echo "Running ${FIG2DEV} -L png $< $@..."; \
22 ${FIG2DEV} -L png $< $@; \
24 echo "warning: fig2dev was not found by configure"; \
27 info_TEXINFOS = ginac.texi
31 ginac.html: ginac.texi version.texi $(PNG)
32 $(MAKEINFO) --html $< -I ${srcdir}
34 ginacdocdir = $(datadir)/doc/GiNaC
35 ginactutorialdir = $(ginacdocdir)/tutorial
36 ginactutorial_DATA = @TUTORIAL_TARGETS@
38 CLEANFILES = $(EPS) $(PNG) ginac.html
39 EXTRA_DIST = $(FIG) $(TXT)
42 @for p in $(PNG); do \
44 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
45 $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
50 @for p in $(PNG); do \
51 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
52 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \