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@
87 LT_CURRENT = @LT_CURRENT@
88 LT_RELEASE = @LT_RELEASE@
89 LT_REVISION = @LT_REVISION@
91 MAKEINDEX = @MAKEINDEX@
96 REFERENCE_TARGETS = @REFERENCE_TARGETS@
97 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
101 FIG = classhierarchy.fig rep_naive.fig rep_pair.fig
102 PNG = $(addsuffix .png, $(basename $(FIG)))
103 EPS = $(addsuffix .eps, $(basename $(FIG)))
105 SUFFIXES = .fig .png .eps
107 JADEARGS_TEX = -t tex -o tutorial.tex -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl
108 JADEARGS_HTML = -t sgml -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl
110 ginacdocdir = $(datadir)/doc/GiNaC
111 ginactutorialdir = $(ginacdocdir)/tutorial
112 ginactutorial_DATA = $(TUTORIAL_TARGETS)
113 EXTRA_DATA = index.html tutorial.ps
115 CLEANFILES = *.html *.png *.ps *.tex *.log *.aux *.dvi *.eps tutorial.sgml HTML.manifest
116 EXTRA_DIST = tutorial.sgml.in $(FIG)
117 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
118 CONFIG_HEADER = ../../config.h
120 DATA = $(ginactutorial_DATA)
122 DIST_COMMON = Makefile.am Makefile.in
125 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
129 all: Makefile $(DATA)
132 .SUFFIXES: .eps .fig .png
133 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
134 cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/tutorial/Makefile
136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
138 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
141 install-ginactutorialDATA: $(ginactutorial_DATA)
143 $(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
144 @list='$(ginactutorial_DATA)'; for p in $$list; do \
145 if test -f $(srcdir)/$$p; then \
146 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
147 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
148 else if test -f $$p; then \
149 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
150 $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
154 uninstall-ginactutorialDATA:
156 list='$(ginactutorial_DATA)'; for p in $$list; do \
157 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
163 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
165 subdir = doc/tutorial
167 distdir: $(DISTFILES)
168 here=`cd $(top_builddir) && pwd`; \
169 top_distdir=`cd $(top_distdir) && pwd`; \
170 distdir=`cd $(distdir) && pwd`; \
172 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/tutorial/Makefile
173 @for file in $(DISTFILES); do \
175 test -f $(distdir)/$$file \
176 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
177 || cp -p $$d/$$file $(distdir)/$$file; \
187 install-data: install-ginactutorialDATA install-data-local
190 install: install-exec install-data all
193 uninstall: uninstall-ginactutorialDATA uninstall-local
196 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
198 $(mkinstalldirs) $(DATADIR)$(ginactutorialdir)
202 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
205 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
208 -rm -f Makefile $(DISTCLEANFILES)
209 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
210 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
212 maintainer-clean-generic:
213 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
214 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
215 mostlyclean: mostlyclean-generic
217 clean: clean-generic mostlyclean
219 distclean: distclean-generic clean
223 maintainer-clean: maintainer-clean-generic distclean
224 @echo "This command is intended for maintainers to use;"
225 @echo "it deletes files that may require special tools to rebuild."
227 .PHONY: uninstall-ginactutorialDATA install-ginactutorialDATA tags \
228 distdir info dvi installcheck install-exec install-data install \
229 uninstall all installdirs mostlyclean-generic distclean-generic \
230 clean-generic maintainer-clean-generic clean mostlyclean distclean \
235 @if [ "${FIG2DEV}" ]; then \
236 echo "Running ${FIG2DEV} -L ps -m 0.8 $< $@..."; \
237 ${FIG2DEV} -L ps -m 0.8 $< $@; \
239 echo "warning: fig2dev was not found by configure"; \
243 @if [ "${FIG2DEV}" ]; then \
244 echo "Running ${FIG2DEV} -L png $< $@..."; \
245 ${FIG2DEV} -L png $< $@; \
247 echo "warning: fig2dev was not found by configure"; \
250 index.html: tutorial.sgml.in $(PNG)
251 @if [ "${JADE}" ]; then \
252 sed -e 's/graext/png/g' -e 's/GRAEXT/GIF/g' tutorial.sgml.in > tutorial.sgml; \
253 echo "Running ${JADE} ${JADEARGS_HTML} tutorial.sgml..."; \
254 ${JADE} ${JADEARGS_HTML} tutorial.sgml; \
255 if [ -f book1.html ]; then mv book1.html index.html; fi; \
257 echo "warning: target tutorial_html disabled by configuration"; \
260 tutorial.tex: tutorial.sgml.in $(EPS)
261 @if [ "${JADE}" -a "${LATEX}" ]; then \
262 sed -e 's/graext/eps/g' -e 's/GRAEXT/EPS/g' tutorial.sgml.in > tutorial.sgml; \
263 echo "Running ${JADE} ${JADEARGS_TEX} tutorial.sgml..."; \
264 ${JADE} ${JADEARGS_TEX} tutorial.sgml ; \
266 echo "warning: target tutorial.tex disabled by configuration"; \
269 tutorial.dvi: tutorial.tex
270 @if [ "${JADETEX}" ]; then \
271 echo "Running ${JADETEX} tutorial.tex..."; \
272 ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex && ${JADETEX} tutorial.tex; \
274 echo "warning: target tutorial.dvi disabled by configuration"; \
277 tutorial.ps: tutorial.dvi
278 @if [ "${DVIPS}" ]; then \
279 echo "Running ${DVIPS} tutorial.dvi -o tutorial.ps..."; \
280 ${DVIPS} tutorial.dvi -o tutorial.ps; \
282 echo "warning: target tutorial.ps disabled by configuration"; \
286 @for p in *.html; do \
287 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
288 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
290 @for p in *.png; do \
291 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
292 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(ginactutorialdir)/$$p; \
296 @for p in *.html; do \
297 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
298 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
300 @for p in *.png; do \
301 echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
302 rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
305 # Tell versions [3.59,3.63) of GNU make to not export all variables.
306 # Otherwise a system limit (for SysV at least) may be exceeded.