1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # This section produces HTML'ed and TeX'ed versions of the tutorial using a
14 # SGML to TeX converter (in this case jade). As a dirty hack, we are doing
15 # some regexpese to tutorial.sgml prior to parsing it, in order to allow for
16 # different graphics output. This seems to be an ugly limitation of docbook...
22 top_srcdir = @top_srcdir@
25 exec_prefix = @exec_prefix@
29 libexecdir = @libexecdir@
31 sysconfdir = @sysconfdir@
32 sharedstatedir = @sharedstatedir@
33 localstatedir = @localstatedir@
37 includedir = @includedir@
38 oldincludedir = /usr/include
42 pkgdatadir = $(datadir)/@PACKAGE@
43 pkglibdir = $(libdir)/@PACKAGE@
44 pkgincludedir = $(includedir)/@PACKAGE@
51 AUTOHEADER = @AUTOHEADER@
54 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
55 INSTALL_DATA = @INSTALL_DATA@
56 INSTALL_SCRIPT = @INSTALL_SCRIPT@
57 transform = @program_transform_name@
65 host_alias = @host_alias@
75 GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
76 GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
77 GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
78 GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
79 GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
80 GINACLIB_VERSION = @GINACLIB_VERSION@
81 GINSH_LIBS = @GINSH_LIBS@
90 LT_CURRENT = @LT_CURRENT@
91 LT_RELEASE = @LT_RELEASE@
92 LT_REVISION = @LT_REVISION@
94 MAKEINDEX = @MAKEINDEX@
100 REFERENCE_TARGETS = @REFERENCE_TARGETS@
101 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
105 FIG = classhierarchy.fig rep_naive.fig rep_pair.fig rep_real.fig
106 PNG = $(addsuffix .png, $(basename $(FIG)))
107 EPS = $(addsuffix .eps, $(basename $(FIG)))
109 SUFFIXES = .fig .png .eps
111 JADEARGS_TEX = -t tex -o tutorial.tex -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl
112 JADEARGS_HTML = -t sgml -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl
114 ginacdocdir = $(datadir)/doc/GiNaC
115 ginactutorialdir = $(ginacdocdir)/tutorial
116 ginactutorial_DATA = @TUTORIAL_TARGETS@
118 CLEANFILES = *.html *.png *.ps *.tex *.log *.aux *.dvi *.eps tutorial.sgml HTML.manifest
119 EXTRA_DIST = tutorial.sgml.in $(FIG)
120 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
121 CONFIG_HEADER = ../../config.h
123 DATA = $(ginactutorial_DATA)
125 DIST_COMMON = Makefile.am Makefile.in
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
134 .SUFFIXES: .eps .fig .png
135 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
136 cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/tutorial/Makefile
138 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
140 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
143 install-ginactutorialDATA: $(ginactutorial_DATA)
145 $(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
146 @list='$(ginactutorial_DATA)'; for p in $$list; do \
147 if test -f $(srcdir)/$$p; then \
148 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
149 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
150 else if test -f $$p; then \
151 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
152 $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
156 uninstall-ginactutorialDATA:
158 list='$(ginactutorial_DATA)'; for p in $$list; do \
159 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
165 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
167 subdir = doc/tutorial
169 distdir: $(DISTFILES)
170 here=`cd $(top_builddir) && pwd`; \
171 top_distdir=`cd $(top_distdir) && pwd`; \
172 distdir=`cd $(distdir) && pwd`; \
174 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/tutorial/Makefile
175 @for file in $(DISTFILES); do \
177 if test -d $$d/$$file; then \
178 cp -pr $$d/$$file $(distdir)/$$file; \
180 test -f $(distdir)/$$file \
181 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
182 || cp -p $$d/$$file $(distdir)/$$file || :; \
192 installcheck: installcheck-am
194 install-exec: install-exec-am
196 install-data-am: install-ginactutorialDATA install-data-local
197 install-data: install-data-am
200 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
202 uninstall-am: uninstall-ginactutorialDATA uninstall-local
203 uninstall: uninstall-am
204 all-am: Makefile $(DATA)
207 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
209 $(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
215 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
218 -rm -f Makefile $(CONFIG_CLEAN_FILES)
219 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
221 maintainer-clean-generic:
222 mostlyclean-am: mostlyclean-generic
224 mostlyclean: mostlyclean-am
226 clean-am: clean-generic mostlyclean-am
230 distclean-am: distclean-generic clean-am
233 distclean: distclean-am
235 maintainer-clean-am: maintainer-clean-generic distclean-am
236 @echo "This command is intended for maintainers to use;"
237 @echo "it deletes files that may require special tools to rebuild."
239 maintainer-clean: maintainer-clean-am
241 .PHONY: uninstall-ginactutorialDATA install-ginactutorialDATA tags \
242 distdir info-am info dvi-am dvi check check-am installcheck-am \
243 installcheck install-exec-am install-exec install-data-local \
244 install-data-am install-data install-am install uninstall-local \
245 uninstall-am uninstall all-redirect all-am all installdirs \
246 mostlyclean-generic distclean-generic clean-generic \
247 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
251 @if [ "${FIG2DEV}" ]; then \
252 echo "Running ${FIG2DEV} -L ps -m 0.8 $< $@..."; \
253 ${FIG2DEV} -L ps -m 0.8 $< $@; \
255 echo "warning: fig2dev was not found by configure"; \
259 @if [ "${FIG2DEV}" ]; then \
260 echo "Running ${FIG2DEV} -L png $< $@..."; \
261 ${FIG2DEV} -L png $< $@; \
263 echo "warning: fig2dev was not found by configure"; \
266 index.html: tutorial.sgml.in $(PNG)
267 @if [ "${JADE}" ]; then \
268 sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
269 -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
270 -e 's/graext/png/g' \
271 -e 's/GRAEXT/GIF/g' tutorial.sgml.in > tutorial.sgml; \
272 echo "Running ${JADE} ${JADEARGS_HTML} tutorial.sgml..."; \
273 ${JADE} ${JADEARGS_HTML} tutorial.sgml; \
274 if [ -f book1.html ]; then mv book1.html index.html; fi; \
276 echo "warning: target tutorial_html disabled by configuration"; \
279 tutorial.tex: tutorial.sgml.in $(EPS)
280 @if [ "${JADE}" -a "${LATEX}" ]; then \
281 sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
282 -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
283 -e 's/graext/eps/g' \
284 -e 's/GRAEXT/EPS/g' tutorial.sgml.in > tutorial.sgml; \
285 echo "Running ${JADE} ${JADEARGS_TEX} tutorial.sgml..."; \
286 ${JADE} ${JADEARGS_TEX} tutorial.sgml ; \
288 echo "warning: target tutorial.tex disabled by configuration"; \
291 tutorial.dvi: tutorial.tex
292 @if [ "${JADETEX}" ]; then \
293 echo "Running ${JADETEX} tutorial.tex..."; \
294 ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex; \
296 echo "warning: target tutorial.dvi disabled by configuration"; \
299 tutorial.ps: tutorial.dvi
300 @if [ "${DVIPS}" ]; then \
301 echo "Running ${DVIPS} tutorial.dvi -o tutorial.ps..."; \
302 ${DVIPS} tutorial.dvi -o tutorial.ps; \
304 echo "warning: target tutorial.ps disabled by configuration"; \
308 @for p in *.html; do \
309 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
310 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
312 @for p in *.png; do \
313 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
314 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
318 @for p in *.html; do \
319 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
320 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
322 @for p in *.png; do \
323 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
324 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
327 # Tell versions [3.59,3.63) of GNU make to not export all variables.
328 # Otherwise a system limit (for SysV at least) may be exceeded.