-SUFFIXES = .fig .png .eps
-
-%.eps: %.fig
- @if [ "${FIG2DEV}" ]; then \
- echo "Running ${FIG2DEV} -L ps -m 0.8 $< $@..."; \
- ${FIG2DEV} -L ps -m 0.8 $< $@; \
- else \
- echo "warning: fig2dev was not found by configure"; \
- fi
-
-%.png: %.fig
- @if [ "${FIG2DEV}" ]; then \
- echo "Running ${FIG2DEV} -L png $< $@..."; \
- ${FIG2DEV} -L png $< $@; \
- else \
- echo "warning: fig2dev was not found by configure"; \
- fi
-
-JADEARGS_TEX = -t tex -o tutorial.tex -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl
-JADEARGS_HTML = -t sgml -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl
-
-index.html: tutorial.sgml.in $(PNG)
- @if [ "${JADE}" ]; then \
- 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; \
- else \
- echo "warning: target tutorial_html disabled by configuration"; \
- fi