1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
## Process this file with automake to produce Makefile.in
# Graphics file conversion
FIG = classhierarchy.fig repnaive.fig reppair.fig repreal.fig
PNG = $(addsuffix .png, $(basename $(FIG)))
EPS = $(addsuffix .eps, $(basename $(FIG)))
TXT = $(addsuffix .txt, $(basename $(FIG)))
SUFFIXES = .fig .png .eps .txt
.fig.eps:
@if [ "${FIG2DEV}" ]; then \
echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \
${FIG2DEV} -L eps -m 0.9 $< $@; \
else \
echo "warning: fig2dev was not found by configure"; \
fi
.fig.png:
@if [ "${FIG2DEV}" ]; then \
echo "Running ${FIG2DEV} -L png $< $@..."; \
${FIG2DEV} -L png $< $@; \
else \
echo "warning: fig2dev was not found by configure"; \
fi
info_TEXINFOS = ginac.texi
ginac.dvi: $(EPS)
ginac.html: ginac.texi version.texi $(PNG)
$(MAKEINFO) --html $< -I ${srcdir}
ginactutorialdir = `test -z "@TUTORIAL_TARGETS@" || echo @datadir@/doc/GiNaC/tutorial`
ginactutorial_DATA = @TUTORIAL_TARGETS@
CLEANFILES = $(EPS) $(PNG) ginac.html
EXTRA_DIST = $(FIG) $(TXT)
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
@for p in $(PNG); do \
if [ -f $$p ]; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
fi; \
done
uninstall-local:
@for p in $(PNG); do \
echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
done
|