1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# doc/Makefile.  Generated from Makefile.in by configure.
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15
16
17pkgdatadir = $(datadir)/libxml2
18pkglibdir = $(libdir)/libxml2
19pkgincludedir = $(includedir)/libxml2
20am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21install_sh_DATA = $(install_sh) -c -m 644
22install_sh_PROGRAM = $(install_sh) -c
23install_sh_SCRIPT = $(install_sh) -c
24INSTALL_HEADER = $(INSTALL_DATA)
25transform = $(program_transform_name)
26NORMAL_INSTALL = :
27PRE_INSTALL = :
28POST_INSTALL = :
29NORMAL_UNINSTALL = :
30PRE_UNINSTALL = :
31POST_UNINSTALL = :
32build_triplet = mipsel-uclibc-linux-gnu26
33host_triplet = mipsel-uclibc-linux-gnu
34subdir = doc
35DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
36ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
38	$(top_srcdir)/configure.in
39am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40	$(ACLOCAL_M4)
41mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
42CONFIG_HEADER = $(top_builddir)/config.h
43CONFIG_CLEAN_FILES =
44SOURCES =
45DIST_SOURCES =
46RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
47	html-recursive info-recursive install-data-recursive \
48	install-dvi-recursive install-exec-recursive \
49	install-html-recursive install-info-recursive \
50	install-pdf-recursive install-ps-recursive install-recursive \
51	installcheck-recursive installdirs-recursive pdf-recursive \
52	ps-recursive uninstall-recursive
53man1dir = $(mandir)/man1
54am__installdirs = "$(DESTDIR)$(man1dir)"
55NROFF = nroff
56MANS = $(man_MANS)
57RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
58  distclean-recursive maintainer-clean-recursive
59ETAGS = etags
60CTAGS = ctags
61DIST_SUBDIRS = $(SUBDIRS)
62DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63ACLOCAL = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run aclocal-1.10
64AMTAR = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run tar
65AR = mipsel-linux-linux26-ar
66AS = as
67AUTOCONF = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run autoconf
68AUTOHEADER = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run autoheader
69AUTOMAKE = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run automake-1.10
70AWK = gawk
71BASE_THREAD_LIBS = -lpthread
72C14N_OBJ = 
73CATALOG_OBJ = 
74CC = mipsel-linux-uclibc-gcc
75CCDEPMODE = depmode=gcc3
76CFLAGS = -Os -I${PKG_INSTALL_DIR}/usr/include -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls
77CPP = mipsel-linux-uclibc-gcc -E
78CPPFLAGS = -I${PKG_INSTALL_DIR}/usr/include
79CXX = mipsel-linux-uclibc-g++
80CXXCPP = mipsel-linux-uclibc-g++ -E
81CXXDEPMODE = depmode=gcc3
82CXXFLAGS = -Os -I${PKG_INSTALL_DIR}/usr/include
83CYGPATH_W = echo
84CYGWIN_EXTRA_LDFLAGS = 
85CYGWIN_EXTRA_PYTHON_LIBADD = 
86DEBUG_OBJ = 
87DEFS = -DHAVE_CONFIG_H
88DEPDIR = .deps
89DLLTOOL = dlltool
90DOCB_OBJ = 
91ECHO = echo
92ECHO_C = 
93ECHO_N = -n
94ECHO_T = 
95EGREP = /bin/grep -E
96EXEEXT = 
97F77 = gfortran
98FFLAGS = -g -O2
99FTP_OBJ = 
100GREP = /bin/grep
101HAVE_ISINF = 
102HAVE_ISNAN = 
103HTML_DIR = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html
104HTML_OBJ = HTMLparser.o HTMLtree.o
105HTTP_OBJ = 
106ICONV_LIBS = 
107INSTALL = /usr/bin/install -c
108INSTALL_DATA = ${INSTALL} -m 644
109INSTALL_PROGRAM = ${INSTALL}
110INSTALL_SCRIPT = ${INSTALL}
111INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
112LDFLAGS = -L${PKG_INSTALL_DIR}/usr/lib
113LIBOBJS = 
114LIBS = 
115LIBTOOL = $(SHELL) $(top_builddir)/libtool
116LIBXML_MAJOR_VERSION = 2
117LIBXML_MICRO_VERSION = 2
118LIBXML_MINOR_VERSION = 7
119LIBXML_VERSION = 2.7.2
120LIBXML_VERSION_EXTRA = 
121LIBXML_VERSION_INFO = 9:2:7
122LIBXML_VERSION_NUMBER = 20702
123LN_S = ln -s
124LTLIBOBJS = 
125MAKEINFO = ${SHELL} ${TIMEMACHINE_PATH}/libxml2-2.7.2/missing --run makeinfo
126MKDIR_P = /bin/mkdir -p
127MODULE_EXTENSION = .so
128MODULE_PLATFORM_LIBS = -ldl
129MV = /bin/mv
130M_LIBS = -lm
131OBJDUMP = mipsel-linux-linux26-objdump
132OBJEXT = o
133PACKAGE = libxml2
134PACKAGE_BUGREPORT = 
135PACKAGE_NAME = 
136PACKAGE_STRING = 
137PACKAGE_TARNAME = 
138PACKAGE_VERSION = 
139PATH_SEPARATOR = :
140PERL = /usr/bin/perl
141PYTHON = 
142PYTHON_INCLUDES = 
143PYTHON_SITE_PACKAGES = 
144PYTHON_SUBDIR = 
145PYTHON_TESTS = 
146PYTHON_VERSION = 
147RANLIB = ranlib
148RDL_LIBS = 
149READER_TEST = Readertests
150RELDATE = Fri Dec  9 2011
151RM = /bin/rm
152SED = /bin/sed
153SET_MAKE = 
154SHELL = /bin/sh
155STATIC_BINARIES = 
156STRIP = mipsel-linux-linux26-strip
157TAR = /bin/tar
158TEST_C14N = 
159TEST_CATALOG = 
160TEST_DEBUG = 
161TEST_HTML = HTMLtests
162TEST_MODULES = ModuleTests
163TEST_PATTERN = Patterntests
164TEST_PHTML = HTMLPushtests
165TEST_PUSH = XMLPushtests
166TEST_REGEXPS = Regexptests Automatatests
167TEST_SAX = SAXtests
168TEST_SCHEMAS = Schemastests Relaxtests
169TEST_SCHEMATRON = Schematrontests
170TEST_THREADS = Threadtests
171TEST_VALID = Validtests
172TEST_VTIME = VTimingtests
173TEST_XINCLUDE = XIncludetests
174TEST_XPATH = XPathtests
175TEST_XPTR = XPtrtests
176THREADS_W32 = 
177THREAD_CFLAGS =  -D_REENTRANT
178THREAD_LIBS = 
179U = 
180VERSION = 2.7.2
181WGET = /usr/bin/wget
182WIN32_EXTRA_LDFLAGS = 
183WIN32_EXTRA_LIBADD = 
184WITH_C14N = 0
185WITH_CATALOG = 0
186WITH_DEBUG = 0
187WITH_DOCB = 0
188WITH_FTP = 0
189WITH_HTML = 1
190WITH_HTTP = 0
191WITH_ICONV = 0
192WITH_ISO8859X = 0
193WITH_LEGACY = 0
194WITH_MEM_DEBUG = 0
195WITH_MODULES = 1
196WITH_OUTPUT = 1
197WITH_PATTERN = 1
198WITH_PUSH = 1
199WITH_READER = 1
200WITH_REGEXPS = 1
201WITH_RUN_DEBUG = 0
202WITH_SAX1 = 1
203WITH_SCHEMAS = 1
204WITH_SCHEMATRON = 1
205WITH_THREADS = 1
206WITH_TREE = 1
207WITH_TRIO = 0
208WITH_VALID = 1
209WITH_WRITER = 1
210WITH_XINCLUDE = 1
211WITH_XPATH = 1
212WITH_XPTR = 1
213WITH_ZLIB = 1
214XINCLUDE_OBJ = xinclude.o
215XMLLINT = /usr/bin/xmllint
216XML_CFLAGS = 
217XML_INCLUDEDIR = -I${includedir}/libxml2
218XML_LIBDIR = -L${libdir}
219XML_LIBS = -lxml2 -lz   -lm 
220XML_LIBTOOLLIBS = libxml2.la
221XPATH_OBJ = xpath.o
222XPTR_OBJ = xpointer.o
223XSLTPROC = /usr/bin/xsltproc
224Z_CFLAGS = 
225Z_LIBS = -lz
226abs_builddir = ${TIMEMACHINE_PATH}/libxml2-2.7.2/doc
227abs_srcdir = ${TIMEMACHINE_PATH}/libxml2-2.7.2/doc
228abs_top_builddir = ${TIMEMACHINE_PATH}/libxml2-2.7.2
229abs_top_srcdir = ${TIMEMACHINE_PATH}/libxml2-2.7.2
230ac_ct_CC = 
231ac_ct_CXX = 
232ac_ct_F77 = gfortran
233am__include = include
234am__leading_dot = .
235am__quote = 
236am__tar = ${AMTAR} chof - "$$tardir"
237am__untar = ${AMTAR} xf -
238bindir = /usr/bin
239build = mipsel-uclibc-linux-gnu26
240build_alias = mipsel-uclibc-linux-gnu26
241build_cpu = mipsel
242build_os = linux-gnu26
243build_vendor = uclibc
244builddir = .
245datadir = /usr/share
246datarootdir = ${prefix}/share
247docdir = ${datarootdir}/doc/${PACKAGE}
248dvidir = ${docdir}
249exec_prefix = /usr
250host = mipsel-uclibc-linux-gnu
251host_alias = mipsel-uclibc-linux
252host_cpu = mipsel
253host_os = linux-gnu
254host_vendor = uclibc
255htmldir = ${docdir}
256includedir = ${prefix}/include
257infodir = /usr/info
258install_sh = $(SHELL) ${TIMEMACHINE_PATH}/libxml2-2.7.2/install-sh
259libdir = ${exec_prefix}/lib
260libexecdir = /usr/lib
261localedir = ${datarootdir}/locale
262localstatedir = /var
263mandir = /usr/man
264mkdir_p = /bin/mkdir -p
265oldincludedir = /usr/include
266pdfdir = ${docdir}
267prefix = /usr
268program_transform_name = s&$$&&;s&^&&
269psdir = ${docdir}
270pythondir = 
271sbindir = /usr/sbin
272sharedstatedir = ${prefix}/com
273srcdir = .
274sysconfdir = /etc
275target_alias = mipsel-uclibc-linux-gnu26
276top_builddir = ..
277top_srcdir = ..
278SUBDIRS = devhelp examples
279
280# The top-level SGML file.
281DOC_MAIN_XML_FILE = gnome-xml.xml
282
283# The directory containing the source code (if it contains documentation).
284DOC_SOURCE_DIR = ..
285
286# A file in win32 depends upon one of the doc files
287WIN32_DIR = $(top_srcdir)/win32
288PAGES = architecture.html bugs.html contribs.html docs.html DOM.html \
289    downloads.html entities.html example.html help.html index.html \
290    interface.html intro.html library.html namespaces.html news.html \
291    tree.html xmldtd.html XMLinfo.html XSLT.html
292
293APIPAGES = APIconstructors.html APIfiles.html APIfunctions.html \
294    APIsymbols.html APIchunk0.html
295
296EXTRA_DIST = xmlcatalog_man.xml tutorial/*.html tutorial/*.c tutorial/*.pdf \
297           tutorial/images/*.png tutorial/images/callouts/*.png \
298	   API*.html *.1 *.xsl *.html *.gif w3c.png html/*.html \
299	   html/*.png libxml2-api.xml index.py search.php \
300	   apibuild.py libxml2.xsa xmllint.xml xmlcatalog_man.xml \
301	   README.docs
302
303man_MANS = xmllint.1 xmlcatalog.1
304all: all-recursive
305
306.SUFFIXES:
307$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
308	@for dep in $?; do \
309	  case '$(am__configure_deps)' in \
310	    *$$dep*) \
311	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
312		&& exit 0; \
313	      exit 1;; \
314	  esac; \
315	done; \
316	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  doc/Makefile'; \
317	cd $(top_srcdir) && \
318	  $(AUTOMAKE) --gnu  doc/Makefile
319.PRECIOUS: Makefile
320Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
321	@case '$?' in \
322	  *config.status*) \
323	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
324	  *) \
325	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
326	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
327	esac;
328
329$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331
332$(top_srcdir)/configure:  $(am__configure_deps)
333	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
334$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
335	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
336
337mostlyclean-libtool:
338	-rm -f *.lo
339
340clean-libtool:
341	-rm -rf .libs _libs
342install-man1: $(man1_MANS) $(man_MANS)
343	@$(NORMAL_INSTALL)
344	test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
345	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
346	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
347	for i in $$l2; do \
348	  case "$$i" in \
349	    *.1*) list="$$list $$i" ;; \
350	  esac; \
351	done; \
352	for i in $$list; do \
353	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
354	  else file=$$i; fi; \
355	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
356	  case "$$ext" in \
357	    1*) ;; \
358	    *) ext='1' ;; \
359	  esac; \
360	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
361	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
362	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
363	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
364	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
365	done
366uninstall-man1:
367	@$(NORMAL_UNINSTALL)
368	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
369	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
370	for i in $$l2; do \
371	  case "$$i" in \
372	    *.1*) list="$$list $$i" ;; \
373	  esac; \
374	done; \
375	for i in $$list; do \
376	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
377	  case "$$ext" in \
378	    1*) ;; \
379	    *) ext='1' ;; \
380	  esac; \
381	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
382	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
383	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
384	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
385	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
386	done
387
388# This directory's subdirectories are mostly independent; you can cd
389# into them and run `make' without going through this Makefile.
390# To change the values of `make' variables: instead of editing Makefiles,
391# (1) if the variable is set in `config.status', edit `config.status'
392#     (which will cause the Makefiles to be regenerated when you run `make');
393# (2) otherwise, pass the desired values on the `make' command line.
394$(RECURSIVE_TARGETS):
395	@failcom='exit 1'; \
396	for f in x $$MAKEFLAGS; do \
397	  case $$f in \
398	    *=* | --[!k]*);; \
399	    *k*) failcom='fail=yes';; \
400	  esac; \
401	done; \
402	dot_seen=no; \
403	target=`echo $@ | sed s/-recursive//`; \
404	list='$(SUBDIRS)'; for subdir in $$list; do \
405	  echo "Making $$target in $$subdir"; \
406	  if test "$$subdir" = "."; then \
407	    dot_seen=yes; \
408	    local_target="$$target-am"; \
409	  else \
410	    local_target="$$target"; \
411	  fi; \
412	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
413	  || eval $$failcom; \
414	done; \
415	if test "$$dot_seen" = "no"; then \
416	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
417	fi; test -z "$$fail"
418
419$(RECURSIVE_CLEAN_TARGETS):
420	@failcom='exit 1'; \
421	for f in x $$MAKEFLAGS; do \
422	  case $$f in \
423	    *=* | --[!k]*);; \
424	    *k*) failcom='fail=yes';; \
425	  esac; \
426	done; \
427	dot_seen=no; \
428	case "$@" in \
429	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
430	  *) list='$(SUBDIRS)' ;; \
431	esac; \
432	rev=''; for subdir in $$list; do \
433	  if test "$$subdir" = "."; then :; else \
434	    rev="$$subdir $$rev"; \
435	  fi; \
436	done; \
437	rev="$$rev ."; \
438	target=`echo $@ | sed s/-recursive//`; \
439	for subdir in $$rev; do \
440	  echo "Making $$target in $$subdir"; \
441	  if test "$$subdir" = "."; then \
442	    local_target="$$target-am"; \
443	  else \
444	    local_target="$$target"; \
445	  fi; \
446	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
447	  || eval $$failcom; \
448	done && test -z "$$fail"
449tags-recursive:
450	list='$(SUBDIRS)'; for subdir in $$list; do \
451	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
452	done
453ctags-recursive:
454	list='$(SUBDIRS)'; for subdir in $$list; do \
455	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
456	done
457
458ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
459	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
460	unique=`for i in $$list; do \
461	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
462	  done | \
463	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
464	      END { if (nonempty) { for (i in files) print i; }; }'`; \
465	mkid -fID $$unique
466tags: TAGS
467
468TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
469		$(TAGS_FILES) $(LISP)
470	tags=; \
471	here=`pwd`; \
472	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
473	  include_option=--etags-include; \
474	  empty_fix=.; \
475	else \
476	  include_option=--include; \
477	  empty_fix=; \
478	fi; \
479	list='$(SUBDIRS)'; for subdir in $$list; do \
480	  if test "$$subdir" = .; then :; else \
481	    test ! -f $$subdir/TAGS || \
482	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
483	  fi; \
484	done; \
485	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
486	unique=`for i in $$list; do \
487	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
488	  done | \
489	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
490	      END { if (nonempty) { for (i in files) print i; }; }'`; \
491	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
492	  test -n "$$unique" || unique=$$empty_fix; \
493	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
494	    $$tags $$unique; \
495	fi
496ctags: CTAGS
497CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
498		$(TAGS_FILES) $(LISP)
499	tags=; \
500	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
501	unique=`for i in $$list; do \
502	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
503	  done | \
504	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
505	      END { if (nonempty) { for (i in files) print i; }; }'`; \
506	test -z "$(CTAGS_ARGS)$$tags$$unique" \
507	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
508	     $$tags $$unique
509
510GTAGS:
511	here=`$(am__cd) $(top_builddir) && pwd` \
512	  && cd $(top_srcdir) \
513	  && gtags -i $(GTAGS_ARGS) $$here
514
515distclean-tags:
516	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
517
518distdir: $(DISTFILES)
519	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
520	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
521	list='$(DISTFILES)'; \
522	  dist_files=`for file in $$list; do echo $$file; done | \
523	  sed -e "s|^$$srcdirstrip/||;t" \
524	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
525	case $$dist_files in \
526	  */*) $(MKDIR_P) `echo "$$dist_files" | \
527			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
528			   sort -u` ;; \
529	esac; \
530	for file in $$dist_files; do \
531	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
532	  if test -d $$d/$$file; then \
533	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
534	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
535	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
536	    fi; \
537	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
538	  else \
539	    test -f $(distdir)/$$file \
540	    || cp -p $$d/$$file $(distdir)/$$file \
541	    || exit 1; \
542	  fi; \
543	done
544	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
545	  if test "$$subdir" = .; then :; else \
546	    test -d "$(distdir)/$$subdir" \
547	    || $(MKDIR_P) "$(distdir)/$$subdir" \
548	    || exit 1; \
549	    distdir=`$(am__cd) $(distdir) && pwd`; \
550	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
551	    (cd $$subdir && \
552	      $(MAKE) $(AM_MAKEFLAGS) \
553	        top_distdir="$$top_distdir" \
554	        distdir="$$distdir/$$subdir" \
555		am__remove_distdir=: \
556		am__skip_length_check=: \
557	        distdir) \
558	      || exit 1; \
559	  fi; \
560	done
561check-am: all-am
562check: check-recursive
563all-am: Makefile $(MANS)
564installdirs: installdirs-recursive
565installdirs-am:
566	for dir in "$(DESTDIR)$(man1dir)"; do \
567	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
568	done
569install: install-recursive
570install-exec: install-exec-recursive
571install-data: install-data-recursive
572uninstall: uninstall-recursive
573
574install-am: all-am
575	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
576
577installcheck: installcheck-recursive
578install-strip:
579	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
580	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
581	  `test -z '$(STRIP)' || \
582	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
583mostlyclean-generic:
584
585clean-generic:
586
587distclean-generic:
588	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
589
590maintainer-clean-generic:
591	@echo "This command is intended for maintainers to use"
592	@echo "it deletes files that may require special tools to rebuild."
593clean: clean-recursive
594
595clean-am: clean-generic clean-libtool clean-local mostlyclean-am
596
597distclean: distclean-recursive
598	-rm -f Makefile
599distclean-am: clean-am distclean-generic distclean-tags
600
601dvi: dvi-recursive
602
603dvi-am:
604
605html: html-recursive
606
607info: info-recursive
608
609info-am:
610
611install-data-am: install-data-local install-man
612
613install-dvi: install-dvi-recursive
614
615install-exec-am:
616
617install-html: install-html-recursive
618
619install-info: install-info-recursive
620
621install-man: install-man1
622
623install-pdf: install-pdf-recursive
624
625install-ps: install-ps-recursive
626
627installcheck-am:
628
629maintainer-clean: maintainer-clean-recursive
630	-rm -f Makefile
631maintainer-clean-am: distclean-am maintainer-clean-generic \
632	maintainer-clean-local
633
634mostlyclean: mostlyclean-recursive
635
636mostlyclean-am: mostlyclean-generic mostlyclean-libtool
637
638pdf: pdf-recursive
639
640pdf-am:
641
642ps: ps-recursive
643
644ps-am:
645
646uninstall-am: uninstall-man
647
648uninstall-man: uninstall-man1
649
650.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
651	install-strip
652
653.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
654	all all-am check check-am clean clean-generic clean-libtool \
655	clean-local ctags ctags-recursive distclean distclean-generic \
656	distclean-libtool distclean-tags distdir dvi dvi-am html \
657	html-am info info-am install install-am install-data \
658	install-data-am install-data-local install-dvi install-dvi-am \
659	install-exec install-exec-am install-html install-html-am \
660	install-info install-info-am install-man install-man1 \
661	install-pdf install-pdf-am install-ps install-ps-am \
662	install-strip installcheck installcheck-am installdirs \
663	installdirs-am maintainer-clean maintainer-clean-generic \
664	maintainer-clean-local mostlyclean mostlyclean-generic \
665	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
666	uninstall uninstall-am uninstall-man uninstall-man1
667
668
669all: web $(top_builddir)/NEWS libxml2.xsa $(man_MANS)
670
671api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src ../elfgcchack.h
672
673web: $(PAGES)
674
675../elfgcchack.h: $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml
676	-@(if [ -x $(XSLTPROC) ] ; then \
677	  echo "Rebuilding the elfgcchack.h header" ; \
678	  $(XSLTPROC) --nonet $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml > elfgcchack.h ; \
679	  if [ "`diff -q elfgcchack.h ../elfgcchack.h`" ] ; then \
680	    echo "updating ../elfgcchack.h"; \
681	    cp elfgcchack.h ../elfgcchack.h; \
682	  fi ; rm -f elfgcchack.h ;  fi );
683
684$(PAGES): xml.html site.xsl
685	-@(if [ -x $(XSLTPROC) ] ; then \
686	  echo "Rebuilding the HTML Web pages from xml.html" ; \
687	  $(XSLTPROC) --nonet --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
688	-@(if [ -x $(XMLLINT) ] ; then \
689	  echo "Validating the HTML Web pages" ; \
690	  $(XMLLINT) --nonet --valid --noout $(PAGES) ; fi );
691
692$(top_builddir)/NEWS: $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html
693	-@(if [ -x $(XSLTPROC) ] ; then \
694	  $(XSLTPROC) --nonet $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html > $(top_builddir)/NEWS ; fi );
695
696libxml2.xsa: $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html
697	-@(if [ -x $(XSLTPROC) ] ; then \
698	  echo "Rebuilding the NEWS file" ; \
699	  $(XSLTPROC) --nonet $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html > libxml2.xsa ; fi );
700
701$(APIPAGES): libxml2-api.xml libxml2-refs.xml $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/api.xsl
702	-@(if [ -x $(XSLTPROC) ] ; then \
703	  echo "Rebuilding the HTML API pages from libxml2-refs.xml" ; \
704	  $(XSLTPROC) --nonet --html $(top_srcdir)/doc/api.xsl \
705	                     $(top_srcdir)/doc/xml.html ; fi );
706	-@(if [ -x $(XMLLINT) ] ; then \
707	  echo "Validating the HTML API pages" ; \
708	  $(XMLLINT) --nonet --valid --noout API*.html ; fi );
709
710$(srcdir)/html/index.html: libxml2-api.xml $(srcdir)/newapi.xsl
711	-@(if [ -x $(XSLTPROC) ] ; then \
712	  echo "Rebuilding the HTML pages from the XML API" ; \
713	  $(XSLTPROC) --nonet $(srcdir)/newapi.xsl libxml2-api.xml ; fi )
714	-@(if [ -x $(XMLLINT) ] ; then \
715	  echo "Validating the resulting XHTML pages" ; \
716	  $(XMLLINT) --nonet --valid --noout html/*.html ; fi );
717
718wiki: libxml2-api.xml $(srcdir)/wiki.xsl
719	-@(if [ -x $(XSLTPROC) ] ; then \
720		echo "Rebuilding the wiki HTML pages from the XML API" ; \
721		$(XSLTPROC) --nonet $(srcdir)/wiki.xsl libxml2-api.xml; fi )
722
723$(WIN32_DIR)/libxml2.def.src: libxml2-api.xml
724	-@(if [ -x $(XSLTPROC) ] ; then \
725	  $(XSLTPROC) -o $(WIN32_DIR)/libxml2.def.src \
726	  --nonet $(WIN32_DIR)/defgen.xsl libxml2-api.xml ; fi )
727
728libxml2-api.xml libxml2-refs.xml: apibuild.py ../include/libxml/*.h ../*.c
729	-(./apibuild.py)
730	-@(cd .. ; $(MAKE) rebuild_testapi)
731
732xmllint.1: xmllint.xml
733	-@($(XSLTPROC) --nonet xmllint.xml)
734
735xmlcatalog.1: xmlcatalog_man.xml
736	-@($(XSLTPROC) --nonet xmlcatalog_man.xml)
737
738clean-local:
739	rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
740
741maintainer-clean-local: clean-local
742	rm -rf libxml-decl-list.txt libxml-decl.txt 
743
744rebuild: api all
745
746install-data-local: 
747	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)
748	-/usr/bin/install -c -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)$(HTML_DIR)
749	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/html
750	-/usr/bin/install -c -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
751	-/usr/bin/install -c -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
752	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial
753	-/usr/bin/install -c -m 0644 $(srcdir)/tutorial/*.* \
754		$(DESTDIR)$(HTML_DIR)/tutorial
755	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images
756	-/usr/bin/install -c -m 0644 $(srcdir)/tutorial/images/*.* \
757		$(DESTDIR)$(HTML_DIR)/tutorial/images
758	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
759	-/usr/bin/install -c -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
760		$(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
761
762.PHONY : html xml templates scan
763# Tell versions [3.59,3.63) of GNU make to not export all variables.
764# Otherwise a system limit (for SysV at least) may be exceeded.
765.NOEXPORT:
766