1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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@
55 INSTALL_DATA = @INSTALL_DATA@
56 INSTALL_SCRIPT = @INSTALL_SCRIPT@
57 transform = @program_transform_name@
65 host_alias = @host_alias@
73 GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
74 GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
75 GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
76 GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
77 GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
78 GINACLIB_VERSION = @GINACLIB_VERSION@
79 GINSH_LIBS = @GINSH_LIBS@
88 LT_CURRENT = @LT_CURRENT@
89 LT_RELEASE = @LT_RELEASE@
90 LT_REVISION = @LT_REVISION@
92 MAKEINDEX = @MAKEINDEX@
97 REFERENCE_TARGETS = @REFERENCE_TARGETS@
98 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
102 FIG = classhierarchy.fig rep_naive.fig rep_pair.fig rep_real.fig
103 PNG = $(addsuffix .png, $(basename $(FIG)))
104 EPS = $(addsuffix .eps, $(basename $(FIG)))
106 SUFFIXES = .fig .png .eps
108 JADEARGS_TEX = -t tex -o tutorial.tex -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl
109 JADEARGS_HTML = -t sgml -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl
111 ginacdocdir = $(datadir)/doc/GiNaC
112 ginactutorialdir = $(ginacdocdir)/tutorial
113 ginactutorial_DATA = $(TUTORIAL_TARGETS)
114 EXTRA_DATA = index.html tutorial.ps
116 CLEANFILES = *.html *.png *.ps *.tex *.log *.aux *.dvi *.eps tutorial.sgml HTML.manifest
117 EXTRA_DIST = tutorial.sgml.in $(FIG)
118 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
119 CONFIG_HEADER = ../../config.h
121 DATA = $(ginactutorial_DATA)
123 DIST_COMMON = Makefile.am Makefile.in
126 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
130 all: Makefile $(DATA)
133 .SUFFIXES: .eps .fig .png
134 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
135 cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/tutorial/Makefile
137 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
139 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
142 install-ginactutorialDATA: $(ginactutorial_DATA)
144 $(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
145 @list='$(ginactutorial_DATA)'; for p in $$list; do \
146 if test -f $(srcdir)/$$p; then \
147 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
148 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
149 else if test -f $$p; then \
150 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
151 $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
155 uninstall-ginactutorialDATA:
157 list='$(ginactutorial_DATA)'; for p in $$list; do \
158 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
164 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
166 subdir = doc/tutorial
168 distdir: $(DISTFILES)
169 here=`cd $(top_builddir) && pwd`; \
170 top_distdir=`cd $(top_distdir) && pwd`; \
171 distdir=`cd $(distdir) && pwd`; \
173 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/tutorial/Makefile
174 @for file in $(DISTFILES); do \
176 test -f $(distdir)/$$file \
177 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
178 || cp -p $$d/$$file $(distdir)/$$file; \
188 install-data: install-ginactutorialDATA install-data-local
191 install: install-exec install-data all
194 uninstall: uninstall-ginactutorialDATA uninstall-local
197 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
199 $(mkinstalldirs) $(DATADIR)$(ginactutorialdir)
203 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
206 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
209 -rm -f Makefile $(DISTCLEANFILES)
210 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
211 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
213 maintainer-clean-generic:
214 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
215 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
216 mostlyclean: mostlyclean-generic
218 clean: clean-generic mostlyclean
220 distclean: distclean-generic clean
224 maintainer-clean: maintainer-clean-generic distclean
225 @echo "This command is intended for maintainers to use;"
226 @echo "it deletes files that may require special tools to rebuild."
228 .PHONY: uninstall-ginactutorialDATA install-ginactutorialDATA tags \
229 distdir info dvi installcheck install-exec install-data install \
230 uninstall all installdirs mostlyclean-generic distclean-generic \
231 clean-generic maintainer-clean-generic clean mostlyclean distclean \
236 @if [ "${FIG2DEV}" ]; then \
237 echo "Running ${FIG2DEV} -L ps -m 0.8 $< $@..."; \
238 ${FIG2DEV} -L ps -m 0.8 $< $@; \
240 echo "warning: fig2dev was not found by configure"; \
244 @if [ "${FIG2DEV}" ]; then \
245 echo "Running ${FIG2DEV} -L png $< $@..."; \
246 ${FIG2DEV} -L png $< $@; \
248 echo "warning: fig2dev was not found by configure"; \
251 index.html: tutorial.sgml.in $(PNG)
252 @if [ "${JADE}" ]; then \
253 sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
254 -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
255 -e 's/graext/png/g' \
256 -e 's/GRAEXT/GIF/g' tutorial.sgml.in > tutorial.sgml; \
257 echo "Running ${JADE} ${JADEARGS_HTML} tutorial.sgml..."; \
258 ${JADE} ${JADEARGS_HTML} tutorial.sgml; \
259 if [ -f book1.html ]; then mv book1.html index.html; fi; \
261 echo "warning: target tutorial_html disabled by configuration"; \
264 tutorial.tex: tutorial.sgml.in $(EPS)
265 @if [ "${JADE}" -a "${LATEX}" ]; then \
266 sed -e "s/MAJOR_VERSION/${GINACLIB_MAJOR_VERSION}/" \
267 -e "s/MINOR_VERSION/${GINACLIB_MINOR_VERSION}/" \
268 -e 's/graext/eps/g' \
269 -e 's/GRAEXT/EPS/g' tutorial.sgml.in > tutorial.sgml; \
270 echo "Running ${JADE} ${JADEARGS_TEX} tutorial.sgml..."; \
271 ${JADE} ${JADEARGS_TEX} tutorial.sgml ; \
273 echo "warning: target tutorial.tex disabled by configuration"; \
276 tutorial.dvi: tutorial.tex
277 @if [ "${JADETEX}" ]; then \
278 echo "Running ${JADETEX} tutorial.tex..."; \
279 ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex; \
281 echo "warning: target tutorial.dvi disabled by configuration"; \
284 tutorial.ps: tutorial.dvi
285 @if [ "${DVIPS}" ]; then \
286 echo "Running ${DVIPS} tutorial.dvi -o tutorial.ps..."; \
287 ${DVIPS} tutorial.dvi -o tutorial.ps; \
289 echo "warning: target tutorial.ps disabled by configuration"; \
293 @for p in *.html; do \
294 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
295 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
297 @for p in *.png; do \
298 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
299 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
303 @for p in *.html; do \
304 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
305 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
307 @for p in *.png; do \
308 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
309 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
312 # Tell versions [3.59,3.63) of GNU make to not export all variables.
313 # Otherwise a system limit (for SysV at least) may be exceeded.