X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=doc%2Ftutorial%2FMakefile.am;h=c9025d9aa683d37f3a801735394457d7b57187ee;hp=5eb2479909b52c687f9377b3b4b09a7fa9e5c421;hb=7680fb04783eb54c66f7ec40184b383d3605e6bb;hpb=726f2a78847ca21d45253306e4499c73ca81f2a6 diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index 5eb24799..c9025d9a 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am @@ -1,22 +1,33 @@ ## Process this file with automake to produce Makefile.in +AM_MAKEINFOHTMLFLAGS = --no-split + # Graphics file conversion FIG = classhierarchy.fig repnaive.fig reppair.fig repreal.fig PNG = $(addsuffix .png, $(basename $(FIG))) EPS = $(addsuffix .eps, $(basename $(FIG))) +PDF = $(addsuffix .pdf, $(basename $(FIG))) TXT = $(addsuffix .txt, $(basename $(FIG))) SUFFIXES = .fig .png .eps .txt -%.eps: %.fig +.fig.eps: @if [ "${FIG2DEV}" ]; then \ - echo "Running ${FIG2DEV} -L ps -m 0.9 $< $@..."; \ - ${FIG2DEV} -L ps -m 0.9 $< $@; \ + echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \ + ${FIG2DEV} -L eps -m 0.9 $< $@; \ else \ echo "warning: fig2dev was not found by configure"; \ fi -%.png: %.fig +.fig.pdf: + @if [ "${FIG2DEV}" ]; then \ + echo "Running ${FIG2DEV} -L pdf -m 0.9 $< $@..."; \ + ${FIG2DEV} -L pdf -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 $< $@; \ @@ -26,27 +37,9 @@ SUFFIXES = .fig .png .eps .txt info_TEXINFOS = ginac.texi +ginac.pdf: $(PDF) ginac.dvi: $(EPS) +ginac.html: $(PNG) -ginac.html: ginac.texi version.texi $(PNG) - cd $(srcdir) \ - && $(MAKEINFO) --html `echo $< | sed 's,.*/,,'` - -ginacdocdir = $(datadir)/doc/GiNaC -ginactutorialdir = $(ginacdocdir)/tutorial -ginactutorial_DATA = @TUTORIAL_TARGETS@ - -CLEANFILES = $(EPS) $(PNG) ginac.html +CLEANFILES = $(EPS) $(PDF) $(PNG) EXTRA_DIST = $(FIG) $(TXT) - -install-data-local: - @for p in $(PNG); do \ - echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \ - $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \ - done - -uninstall-local: - @for p in $(PNG); do \ - echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \ - rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \ - done