Initial revision
[TestXSLT.git] / libxml2 / doc / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 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.
7
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
11 # PARTICULAR PURPOSE.
12
13 # The name of the module.
14
15
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36
37 DESTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = ..
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 host_alias = @host_alias@
63 host_triplet = @host@
64 AS = @AS@
65 C14N_OBJ = @C14N_OBJ@
66 CATALOG_OBJ = @CATALOG_OBJ@
67 CC = @CC@
68 CFLAGS = @CFLAGS@
69 CPP = @CPP@
70 DEBUG_OBJ = @DEBUG_OBJ@
71 DLLTOOL = @DLLTOOL@
72 DOCB_OBJ = @DOCB_OBJ@
73 ECHO = @ECHO@
74 EXEEXT = @EXEEXT@
75 FTP_OBJ = @FTP_OBJ@
76 HAVE_ISINF = @HAVE_ISINF@
77 HAVE_ISNAN = @HAVE_ISNAN@
78 HTML_OBJ = @HTML_OBJ@
79 HTTP_OBJ = @HTTP_OBJ@
80 ICONV_LIBS = @ICONV_LIBS@
81 LIBTOOL = @LIBTOOL@
82 LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
83 LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
84 LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
85 LIBXML_VERSION = @LIBXML_VERSION@
86 LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
87 LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAKEINFO = @MAKEINFO@
91 MV = @MV@
92 M_LIBS = @M_LIBS@
93 OBJDUMP = @OBJDUMP@
94 OBJEXT = @OBJEXT@
95 PACKAGE = @PACKAGE@
96 PYTHON = @PYTHON@
97 PYTHON_INCLUDES = @PYTHON_INCLUDES@
98 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
99 PYTHON_SUBDIR = @PYTHON_SUBDIR@
100 PYTHON_VERSION = @PYTHON_VERSION@
101 RANLIB = @RANLIB@
102 RDL_LIBS = @RDL_LIBS@
103 RELDATE = @RELDATE@
104 RM = @RM@
105 STATIC_BINARIES = @STATIC_BINARIES@
106 STRIP = @STRIP@
107 TAR = @TAR@
108 TEST_REGEXPS = @TEST_REGEXPS@
109 TEST_SCHEMAS = @TEST_SCHEMAS@
110 TEST_THREADS = @TEST_THREADS@
111 THREAD_CFLAGS = @THREAD_CFLAGS@
112 THREAD_LIBS = @THREAD_LIBS@
113 U = @U@
114 VERSION = @VERSION@
115 WITH_C14N = @WITH_C14N@
116 WITH_CATALOG = @WITH_CATALOG@
117 WITH_DEBUG = @WITH_DEBUG@
118 WITH_DOCB = @WITH_DOCB@
119 WITH_FTP = @WITH_FTP@
120 WITH_HTML = @WITH_HTML@
121 WITH_HTTP = @WITH_HTTP@
122 WITH_ICONV = @WITH_ICONV@
123 WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
124 WITH_REGEXPS = @WITH_REGEXPS@
125 WITH_SCHEMAS = @WITH_SCHEMAS@
126 WITH_THREADS = @WITH_THREADS@
127 WITH_TRIO = @WITH_TRIO@
128 WITH_XINCLUDE = @WITH_XINCLUDE@
129 WITH_XPATH = @WITH_XPATH@
130 WITH_XPTR = @WITH_XPTR@
131 XINCLUDE_OBJ = @XINCLUDE_OBJ@
132 XML_CFLAGS = @XML_CFLAGS@
133 XML_INCLUDEDIR = @XML_INCLUDEDIR@
134 XML_LIBDIR = @XML_LIBDIR@
135 XML_LIBS = @XML_LIBS@
136 XPATH_OBJ = @XPATH_OBJ@
137 XPTR_OBJ = @XPTR_OBJ@
138 Z_CFLAGS = @Z_CFLAGS@
139 Z_LIBS = @Z_LIBS@
140
141 DOC_MODULE = libxml2-$(VERSION)
142
143 # The top-level SGML file.
144 DOC_MAIN_SGML_FILE = gnome-xml.sgml
145
146 # The directory containing the source code (if it contains documentation).
147 DOC_SOURCE_DIR = ..
148
149 HTML_DIR = $(datadir)/doc
150
151 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)/html
152 PAGES = architecture.html bugs.html contribs.html docs.html DOM.html \
153     downloads.html entities.html example.html help.html index.html \
154     interface.html intro.html library.html namespaces.html news.html \
155     tree.html xmldtd.html XMLinfo.html XSLT.html
156
157 APIPAGES = APIconstructors.html APIfiles.html APIfunctions.html \
158     APIsymbols.html APIchunk0.html
159
160 EXTRA_DIST = xmlcatalog_man.xml tutorial/*.html tutorial/*.c tutorial/*.pdf \
161            tutorial/images/*.png tutorial/images/callouts/*.png \
162            API*.html *.1 *.xsl *.html *.gif w3c.png html/*.html \
163            html/*.sgml libxml2-api.xml parsedecl.py index.py search.php \
164            apibuild.py
165
166
167 man_MANS = xmllint.1 xmlcatalog.1
168 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
169 CONFIG_HEADER = ../config.h
170 CONFIG_CLEAN_FILES = 
171 man1dir = $(mandir)/man1
172 MANS = $(man_MANS)
173
174 NROFF = nroff
175 DIST_COMMON =  Makefile.am Makefile.in
176
177
178 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
179
180 GZIP_ENV = --best
181 all: all-redirect
182 .SUFFIXES:
183 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
184         cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
185
186 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
187         cd $(top_builddir) \
188           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
189
190
191 install-man1:
192         $(mkinstalldirs) $(DESTDIR)$(man1dir)
193         @list='$(man1_MANS)'; \
194         l2='$(man_MANS)'; for i in $$l2; do \
195           case "$$i" in \
196             *.1*) list="$$list $$i" ;; \
197           esac; \
198         done; \
199         for i in $$list; do \
200           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
201           else file=$$i; fi; \
202           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
203           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
204           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
205           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
206           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
207         done
208
209 uninstall-man1:
210         @list='$(man1_MANS)'; \
211         l2='$(man_MANS)'; for i in $$l2; do \
212           case "$$i" in \
213             *.1*) list="$$list $$i" ;; \
214           esac; \
215         done; \
216         for i in $$list; do \
217           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
218           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
219           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
220           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
221           rm -f $(DESTDIR)$(man1dir)/$$inst; \
222         done
223 install-man: $(MANS)
224         @$(NORMAL_INSTALL)
225         $(MAKE) $(AM_MAKEFLAGS) install-man1
226 uninstall-man:
227         @$(NORMAL_UNINSTALL)
228         $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
229 tags: TAGS
230 TAGS:
231
232
233 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
234
235 subdir = doc
236
237 distdir: $(DISTFILES)
238         $(mkinstalldirs) $(distdir)/html $(distdir)/tutorial \
239            $(distdir)/tutorial/images \
240            $(distdir)/tutorial/images/callouts
241         @for file in $(DISTFILES); do \
242           d=$(srcdir); \
243           if test -d $$d/$$file; then \
244             cp -pr $$d/$$file $(distdir)/$$file; \
245           else \
246             test -f $(distdir)/$$file \
247             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
248             || cp -p $$d/$$file $(distdir)/$$file || :; \
249           fi; \
250         done
251 info-am:
252 info: info-am
253 dvi-am:
254 dvi: dvi-am
255 check-am: all-am
256 check: check-am
257 installcheck-am:
258 installcheck: installcheck-am
259 install-exec-am:
260 install-exec: install-exec-am
261
262 install-data-am: install-man install-data-local
263 install-data: install-data-am
264
265 install-am: all-am
266         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
267 install: install-am
268 uninstall-am: uninstall-man
269 uninstall: uninstall-am
270 all-am: Makefile $(MANS)
271 all-redirect: all-am
272 install-strip:
273         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
274 installdirs:
275         $(mkinstalldirs)  $(DESTDIR)$(mandir)/man1
276
277
278 mostlyclean-generic:
279
280 clean-generic:
281
282 distclean-generic:
283         -rm -f Makefile $(CONFIG_CLEAN_FILES)
284         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
285
286 maintainer-clean-generic:
287 mostlyclean-am:  mostlyclean-generic
288
289 mostlyclean: mostlyclean-am
290
291 clean-am:  clean-generic mostlyclean-am clean-local
292
293 clean: clean-am
294
295 distclean-am:  distclean-generic clean-am
296         -rm -f libtool
297
298 distclean: distclean-am
299
300 maintainer-clean-am:  maintainer-clean-generic distclean-am \
301                 maintainer-clean-local
302         @echo "This command is intended for maintainers to use;"
303         @echo "it deletes files that may require special tools to rebuild."
304
305 maintainer-clean: maintainer-clean-am
306
307 .PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \
308 distdir info-am info dvi-am dvi check check-am installcheck-am \
309 installcheck install-exec-am install-exec install-data-local \
310 install-data-am install-data install-am install uninstall-am uninstall \
311 all-redirect all-am all installdirs mostlyclean-generic \
312 distclean-generic clean-generic maintainer-clean-generic clean \
313 mostlyclean distclean maintainer-clean
314
315
316 all: $(PAGES) $(top_srcdir)/NEWS
317
318 web: $(PAGES) $(APIPAGES)
319
320 $(PAGES): xml.html site.xsl
321         -@(if [ -x $(bindir)/xsltproc ] ; then \
322           $(bindir)/xsltproc --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
323
324 $(top_srcdir)/NEWS: $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html
325         -@(if [ -x $(bindir)/xsltproc ] ; then \
326           $(bindir)/xsltproc --html $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html > $(top_srcdir)/NEWS ; fi );
327
328 $(APIPAGES): libxml2-refs.xml site.xsl api.xsl
329         -@(if [ -x $(bindir)/xsltproc ] ; then \
330           $(bindir)/xsltproc --html $(top_srcdir)/doc/api.xsl $(top_srcdir)/doc/xml.html ; fi );
331
332 scan:
333         -gtkdoc-scan --module=libxml --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h win32config.h trio.h triostr.h triop.h config-mac.h XMLTestPrefix2.h  XMLTestPrefix.h triodef.h trionan.h xlink.h libxml.h libxml2-py.h libxml_wrap.h xmlschemas.h xmlschemastypes.h"
334
335 templates: scan
336         -gtkdoc-mktmpl --module=libxml
337
338 sgml: templates
339         -gtkdoc-mkdb --module=libxml --source-dir=$(DOC_SOURCE_DIR)
340
341 xml: sgml 
342         if test -d xml ; then rm xml/* ; else mkdir xml ; fi
343         -@(for s in sgml/*.sgml ; do name=`basename $$s .sgml` ; \
344            xmllint --sgml $$s > xml/"$$name".xml ; done)
345
346 libxml2-api.xml: apibuild.py ../include/libxml/*.h
347         -(./apibuild.py)
348
349 api: libxml2-api.xml libxml2-refs.xml
350
351 html:
352         if test -n -d html ; then mkdir html ; fi
353         -cd html && gtkdoc-mkhtml libxml ../$(DOC_MAIN_SGML_FILE)
354
355 clean-local:
356         rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
357
358 maintainer-clean-local: clean
359         rm -rf sgml html libxml-decl-list.txt libxml-decl.txt 
360
361 libxml-decl-list.txt libxml-decl.txt : templates
362
363 libxml-sections.txt : scan
364         cp libxml-decl-list.txt libxml-sections.txt
365
366 rebuild: libxml-sections.txt templates sgml html api
367
368 install-data-local: 
369         $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
370         -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(TARGET_DIR)
371         -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
372         -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
373         -(cd $(DESTDIR); gtkdoc-fixxref --module=libxml --html-dir=$(HTML_DIR))
374         -@(tar cf - tutorial | (cd $(DESTDIR)$(TARGET_DIR) && tar xvf -))
375
376 .PHONY : html sgml templates scan
377
378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
379 # Otherwise a system limit (for SysV at least) may be exceeded.
380 .NOEXPORT: