]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/Makefile.in
- Finished tutorial :-)
[ginac.git] / doc / tutorial / Makefile.in
index 0e33753c635dc52b2b4b66dbae8ca7083c282076..898729353e5378c45f50acf40c60d3cba00edef8 100644 (file)
@@ -99,7 +99,7 @@ TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
 VERSION = @VERSION@
 YACC = @YACC@
 
-FIG = classhierarchy.fig rep_naive.fig rep_pair.fig
+FIG = classhierarchy.fig rep_naive.fig rep_pair.fig rep_real.fig
 PNG = $(addsuffix .png, $(basename $(FIG)))
 EPS = $(addsuffix .eps, $(basename $(FIG)))
 
@@ -250,7 +250,10 @@ maintainer-clean
 
 index.html: tutorial.sgml.in $(PNG)
        @if [ "${JADE}" ]; then \
-         sed -e 's/graext/png/g' -e 's/GRAEXT/GIF/g' tutorial.sgml.in > tutorial.sgml; \
+         sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
+             -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
+             -e 's/graext/png/g' \
+             -e 's/GRAEXT/GIF/g' tutorial.sgml.in > tutorial.sgml; \
          echo "Running ${JADE} ${JADEARGS_HTML} tutorial.sgml..."; \
          ${JADE} ${JADEARGS_HTML} tutorial.sgml; \
          if [ -f book1.html ]; then mv book1.html index.html; fi; \
@@ -260,7 +263,10 @@ index.html: tutorial.sgml.in $(PNG)
 
 tutorial.tex: tutorial.sgml.in $(EPS)
        @if [ "${JADE}" -a "${LATEX}" ]; then \
-         sed -e 's/graext/eps/g' -e 's/GRAEXT/EPS/g' tutorial.sgml.in > tutorial.sgml; \
+         sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
+             -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
+             -e 's/graext/eps/g' \
+             -e 's/GRAEXT/EPS/g' tutorial.sgml.in > tutorial.sgml; \
          echo "Running ${JADE} ${JADEARGS_TEX} tutorial.sgml..."; \
          ${JADE} ${JADEARGS_TEX} tutorial.sgml ; \
        else \