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 cd $(srcdir) && ${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 cd $(srcdir) && ${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)
33 && $(MAKEINFO) --html `echo $< | sed 's,.*/,,'`
35 ginacdocdir = $(datadir)/doc/GiNaC
36 ginactutorialdir = $(ginacdocdir)/tutorial
37 ginactutorial_DATA = @TUTORIAL_TARGETS@
39 CLEANFILES = $(EPS) $(PNG) ginac.html
40 EXTRA_DIST = $(FIG) $(TXT)
43 @for p in $(PNG); do \
44 if [ -f $(srcdir)/$$p ]; then \
45 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
46 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
51 @for p in $(PNG); do \
52 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
53 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \