OSDN Git Service

2010-03-12 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / doc / Makefile.in
index 17c2e86..d584768 100644 (file)
@@ -1,8 +1,9 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# Makefile.in generated by automake 1.11 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005  Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ..
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
 install_sh_DATA = $(install_sh) -c -m 644
 install_sh_PROGRAM = $(install_sh) -c
 install_sh_SCRIPT = $(install_sh) -c
@@ -50,18 +48,18 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
        $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../config/proginstall.m4 \
        $(top_srcdir)/../config/stdint.m4 \
        $(top_srcdir)/../config/unwind_ipinfo.m4 \
        $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
        $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/crossconfig.m4 $(top_srcdir)/linkage.m4 \
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/tls.m4 \
-       $(top_srcdir)/configure.ac
+       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
+       $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
+       $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
 depcomp =
 am__depfiles_maybe =
 SOURCES =
@@ -108,48 +106,20 @@ CYGPATH_W = @CYGPATH_W@
 C_INCLUDE_DIR = @C_INCLUDE_DIR@
 DEBUG_FLAGS = @DEBUG_FLAGS@
 DEFS = @DEFS@
+DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
-ENABLE_PARALLEL_FALSE = @ENABLE_PARALLEL_FALSE@
-ENABLE_PARALLEL_TRUE = @ENABLE_PARALLEL_TRUE@
-ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
-ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
-ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
-ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
-ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
-ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
-ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
-ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
-ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
-ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
 EXEEXT = @EXEEXT@
 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
 FGREP = @FGREP@
-GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
-GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
-GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
-GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
-GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
-GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
-GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
-GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
-GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
-GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
-GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
-GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
-GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
-GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
-GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
-GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
-GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
-GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
 GLIBCXX_LIBS = @GLIBCXX_LIBS@
 GREP = @GREP@
+INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -157,28 +127,32 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 LD = @LD@
 LDFLAGS = @LDFLAGS@
 LIBICONV = @LIBICONV@
-LIBMATHOBJS = @LIBMATHOBJS@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
 LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBICONV = @LTLIBICONV@
 LTLIBOBJS = @LTLIBOBJS@
 MAINT = @MAINT@
-MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
-MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
 NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
 OBJEXT = @OBJEXT@
 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
 OPT_LDFLAGS = @OPT_LDFLAGS@
 OS_INC_SRCDIR = @OS_INC_SRCDIR@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
 PACKAGE = @PACKAGE@
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 PACKAGE_NAME = @PACKAGE_NAME@
 PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 RANLIB = @RANLIB@
@@ -194,13 +168,13 @@ USE_NLS = @USE_NLS@
 VERSION = @VERSION@
 WARN_FLAGS = @WARN_FLAGS@
 WERROR = @WERROR@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_AS = @ac_ct_AS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-ac_ct_RANLIB = @ac_ct_RANLIB@
-ac_ct_STRIP = @ac_ct_STRIP@
 am__leading_dot = @am__leading_dot@
 am__tar = @am__tar@
 am__untar = @am__untar@
@@ -211,8 +185,12 @@ build_alias = @build_alias@
 build_cpu = @build_cpu@
 build_os = @build_os@
 build_vendor = @build_vendor@
+builddir = @builddir@
 check_msgfmt = @check_msgfmt@
 datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
 enable_shared = @enable_shared@
 enable_static = @enable_static@
 exec_prefix = @exec_prefix@
@@ -232,29 +210,36 @@ host_alias = @host_alias@
 host_cpu = @host_cpu@
 host_os = @host_os@
 host_vendor = @host_vendor@
+htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
 install_sh = @install_sh@
 libdir = @libdir@
 libexecdir = @libexecdir@
 libtool_VERSION = @libtool_VERSION@
+localedir = @localedir@
 localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 multi_basedir = @multi_basedir@
 oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
 port_specific_symbol_files = @port_specific_symbol_files@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
+psdir = @psdir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
 sysconfdir = @sysconfdir@
 target = @target@
 target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
 toplevel_srcdir = @toplevel_srcdir@
 
 # May be used by various substitution variables.
@@ -279,78 +264,89 @@ WARN_CXXFLAGS = \
 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
 
 # Doxygen configuration
-# Assumes doxygen, graphviz (with dot) installed
-doc_doxygen_script = ${top_srcdir}/scripts/run_doxygen
-doxygen_xmldir = ${glibcxx_builddir}/doc/doxygen/xml
-
-# Performance doc and graph configuration.
-# Assumes pychart, beautiful soup installed.
-# Generates the plots and graphs for performance testing.
-doc_performance_script = ${top_srcdir}/scripts/make_graphs.py
+# Assumes doxygen, graphviz (with dot), pdflatex installed
+doxygen_script = ${top_srcdir}/scripts/run_doxygen
+doxygen_outdir = ${glibcxx_builddir}/doc/doxygen
+doxygen_pdf = ${doxygen_outdir}/latex/refman.pdf
 
 # Docbook configuration.
 # Assumes
 # libxslt
+# dblatex
+# pdflatex
 # docbook-style-xsl
-# emacs-nxml-mode 
+# emacs-nxml-mode
 # xmlto passivetex
-xml_srcdir = ${glibcxx_srcdir}/doc/xml
-xml_sources = \
-       ${xml_srcdir}/spine.xml \
-       ${xml_srcdir}/authors.xml \
-       ${xml_srcdir}/manual/abi.xml \
-       ${xml_srcdir}/manual/algorithms.xml \
-       ${xml_srcdir}/manual/allocator.xml \
-       ${xml_srcdir}/manual/auto_ptr.xml \
-       ${xml_srcdir}/manual/backwards_compatibility.xml \
-       ${xml_srcdir}/manual/bitmap_allocator.xml \
-       ${xml_srcdir}/manual/build_hacking.xml \
-       ${xml_srcdir}/manual/codecvt.xml \
-       ${xml_srcdir}/manual/concurrency.xml \
-       ${xml_srcdir}/manual/configure.xml \
-       ${xml_srcdir}/manual/containers.xml \
-       ${xml_srcdir}/manual/ctype.xml \
-       ${xml_srcdir}/manual/debug_mode.xml \
-       ${xml_srcdir}/manual/debug.xml \
-       ${xml_srcdir}/manual/diagnostics.xml \
-       ${xml_srcdir}/manual/evolution.xml \
-       ${xml_srcdir}/manual/extensions.xml \
-       ${xml_srcdir}/manual/internals.xml \
-       ${xml_srcdir}/manual/intro.xml \
-       ${xml_srcdir}/manual/io.xml \
-       ${xml_srcdir}/manual/iterators.xml \
-       ${xml_srcdir}/manual/locale.xml \
-       ${xml_srcdir}/manual/localization.xml \
-       ${xml_srcdir}/manual/messages.xml \
-       ${xml_srcdir}/manual/mt_allocator.xml \
-       ${xml_srcdir}/manual/numerics.xml \
-       ${xml_srcdir}/manual/parallel_mode.xml \
-       ${xml_srcdir}/manual/prerequisites.xml \
-       ${xml_srcdir}/manual/internals.xml \
-       ${xml_srcdir}/manual/shared_ptr.xml \
-       ${xml_srcdir}/manual/spine.xml \
-       ${xml_srcdir}/manual/status_cxx1998.xml \
-       ${xml_srcdir}/manual/status_cxx200x.xml \
-       ${xml_srcdir}/manual/status_cxxtr1.xml \
-       ${xml_srcdir}/manual/strings.xml \
-       ${xml_srcdir}/manual/support.xml \
-       ${xml_srcdir}/manual/test.xml \
-       ${xml_srcdir}/manual/using.xml \
-       ${xml_srcdir}/manual/utilities.xml \
-       ${xml_srcdir}/manual/appendix_free.xml \
-       ${xml_srcdir}/manual/appendix_contributing.xml \
-       ${xml_srcdir}/manual/appendix_porting.xml \
-       ${xml_srcdir}/api.xml \
-       ${xml_srcdir}/faq.xml
+docbook_outdir = ${glibcxx_builddir}/doc/docbook
+xml_dir = ${glibcxx_srcdir}/doc/xml
+xml_sources_basic = \
+       ${xml_dir}/spine.xml \
+       ${xml_dir}/authors.xml \
+       ${xml_dir}/api.xml \
+       ${xml_dir}/faq.xml
+
+xml_sources_manual = \
+       ${xml_dir}/manual/abi.xml \
+       ${xml_dir}/manual/algorithms.xml \
+       ${xml_dir}/manual/allocator.xml \
+       ${xml_dir}/manual/auto_ptr.xml \
+       ${xml_dir}/manual/atomics.xml \
+       ${xml_dir}/manual/backwards_compatibility.xml \
+       ${xml_dir}/manual/bitmap_allocator.xml \
+       ${xml_dir}/manual/build_hacking.xml \
+       ${xml_dir}/manual/codecvt.xml \
+       ${xml_dir}/manual/concurrency.xml \
+       ${xml_dir}/manual/concurrency_extensions.xml \
+       ${xml_dir}/manual/configure.xml \
+       ${xml_dir}/manual/containers.xml \
+       ${xml_dir}/manual/ctype.xml \
+       ${xml_dir}/manual/debug_mode.xml \
+       ${xml_dir}/manual/debug.xml \
+       ${xml_dir}/manual/diagnostics.xml \
+       ${xml_dir}/manual/evolution.xml \
+       ${xml_dir}/manual/extensions.xml \
+       ${xml_dir}/manual/internals.xml \
+       ${xml_dir}/manual/intro.xml \
+       ${xml_dir}/manual/io.xml \
+       ${xml_dir}/manual/iterators.xml \
+       ${xml_dir}/manual/locale.xml \
+       ${xml_dir}/manual/localization.xml \
+       ${xml_dir}/manual/messages.xml \
+       ${xml_dir}/manual/mt_allocator.xml \
+       ${xml_dir}/manual/numerics.xml \
+       ${xml_dir}/manual/parallel_mode.xml \
+       ${xml_dir}/manual/prerequisites.xml \
+       ${xml_dir}/manual/profile_mode.xml \
+       ${xml_dir}/manual/shared_ptr.xml \
+       ${xml_dir}/manual/spine.xml \
+       ${xml_dir}/manual/status_cxx1998.xml \
+       ${xml_dir}/manual/status_cxx200x.xml \
+       ${xml_dir}/manual/status_cxxtr1.xml \
+       ${xml_dir}/manual/status_cxxtr24733.xml \
+       ${xml_dir}/manual/strings.xml \
+       ${xml_dir}/manual/support.xml \
+       ${xml_dir}/manual/test.xml \
+       ${xml_dir}/manual/using.xml \
+       ${xml_dir}/manual/using_exceptions.xml \
+       ${xml_dir}/manual/utilities.xml \
+       ${xml_dir}/manual/appendix_free.xml \
+       ${xml_dir}/manual/appendix_contributing.xml \
+       ${xml_dir}/manual/appendix_porting.xml
 
 xml_sources_extra = \
-       ${xml_srcdir}/gnu/fdl-1.2.xml \
-       ${xml_srcdir}/gnu/gpl-2.0.xml
+       ${xml_dir}/gnu/fdl-1.2.xml \
+       ${xml_dir}/gnu/gpl-2.0.xml \
+       ${xml_dir}/gnu/gpl-3.0.xml
+
+xml_sources = \
+       ${xml_sources_basic} \
+       ${xml_sources_manual} \
+       ${xml_sources_extra}
 
 xml_noinst = \
-       ${xml_srcdir}/book.txml \
-       ${xml_srcdir}/chapter.txml \
-       ${xml_srcdir}/class.txml
+       ${xml_dir}/book.txml \
+       ${xml_dir}/chapter.txml \
+       ${xml_dir}/class.txml
 
 XSLTPROC = xsltproc
 XSLTPROC_FLAGS = --nonet --xinclude
@@ -362,11 +358,11 @@ XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml/docbook.xsl
 
 # Validate existing XML structure.
 XMLLINT = xmllint
-#LINT_FLAGS = --debug --nonet --xinclude --nsclean --postvalid --nowarning 
+#LINT_FLAGS = --debug --nonet --xinclude --nsclean --postvalid --nowarning
 #LINT_FLAGS = --noblanks --noout --xinclude --postvalid --noent
 LINT_FLAGS = --postvalid --debug --xinclude --noent --noblanks  --nonet --noout
-VALID_FLAGS = --dtdvalid http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
-XMLLINT_FLAGS = $(LINT_FLAGS) $(VALID_FLAGS)
+DTD_FLAGS = --dtdvalid http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
+XMLLINT_FLAGS = $(LINT_FLAGS) $(DTD_FLAGS)
 
 # PDF 1
 # fop
@@ -388,6 +384,15 @@ XMLROFF_FLAGS = --format=pdf --backend=cairo --warn=1 --debug=1 --continue
 PRINCE = prince
 PRINCE_FLAGS = --log prince.log -o pdf/spine.pdf
 
+# PDF 5
+# dblatex
+DBLATEX_FLAGS = --dump --verbose --pdf -o ${docbook_outdir}/pdf/manual.pdf
+
+# Performance doc and graph configuration.
+# Assumes pychart, beautiful soup installed.
+# Generates the plots and graphs for performance testing.
+doc_performance_script = ${top_srcdir}/scripts/make_graphs.py
+
 # By adding these files here, automake will remove them for 'make clean'
 CLEANFILES = *.log
 all: all-am
@@ -397,14 +402,14 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-               && exit 0; \
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+               && { if test -f $@; then exit 0; else break; fi; }; \
              exit 1;; \
          esac; \
        done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps doc/Makefile'; \
-       cd $(top_srcdir) && \
-         $(AUTOMAKE) --foreign  --ignore-deps doc/Makefile
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/Makefile'; \
+       $(am__cd) $(top_srcdir) && \
+         $(AUTOMAKE) --foreign --ignore-deps doc/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
@@ -422,16 +427,13 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
 
 mostlyclean-libtool:
        -rm -f *.lo
 
 clean-libtool:
        -rm -rf .libs _libs
-
-distclean-libtool:
-       -rm -f libtool
-uninstall-info-am:
 tags: TAGS
 TAGS:
 
@@ -440,30 +442,32 @@ CTAGS:
 
 
 distdir: $(DISTFILES)
-       $(mkdir_p) $(distdir)/..
-       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
-       list='$(DISTFILES)'; for file in $$list; do \
-         case $$file in \
-           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
-           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
-         esac; \
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
-         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
-           dir="/$$dir"; \
-           $(mkdir_p) "$(distdir)$$dir"; \
-         else \
-           dir=''; \
-         fi; \
          if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d "$(distdir)/$$file"; then \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
            fi; \
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
          else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
+           test -f "$(distdir)/$$file" \
+           || cp -p $$d/$$file "$(distdir)/$$file" \
            || exit 1; \
          fi; \
        done
@@ -492,6 +496,7 @@ clean-generic:
 
 distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
@@ -502,7 +507,7 @@ clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
 distclean: distclean-am
        -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool
+distclean-am: clean-am distclean-generic
 
 dvi: dvi-am
 
@@ -510,18 +515,38 @@ dvi-am:
 
 html: html-am
 
+html-am:
+
 info: info-am
 
 info-am:
 
 install-data-am:
 
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
 install-exec-am:
 
+install-html: install-html-am
+
+install-html-am:
+
 install-info: install-info-am
 
+install-info-am:
+
 install-man:
 
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
 installcheck-am:
 
 maintainer-clean: maintainer-clean-am
@@ -540,111 +565,173 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am: uninstall-info-am
+uninstall-am:
+
+.MAKE: install-am install-strip
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
        clean-local distclean distclean-generic distclean-libtool \
        distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-exec \
-       install-exec-am install-info install-info-am install-man \
+       install-am install-data install-data-am install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-info install-info-am install-man \
+       install-pdf install-pdf-am install-ps install-ps-am \
        install-strip installcheck installcheck-am installdirs \
        maintainer-clean maintainer-clean-generic mostlyclean \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       uninstall uninstall-am uninstall-info-am
+       uninstall uninstall-am
+
+
+# Documentation Overview
+#
+# There are two main source materials for libstdc++ documentation.
+# The first is the doxygen markup in libstdc++ sources. And the second
+# is the docbook markup in doc/xml/. A third and more obscure option
+# deals with charting performance tests.
+
+# Default, points to current best sub-rule that is the best conversion.
+# MAN
+doc-man: doc-man-doxygen
+
+# PDF
+doc-pdf: doc-pdf-docbook
+
+# HTML
+doc-html: doc-html-docbook
 
 doc-html-doxygen:
        -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
          builddir=`cd ..; ${PWD_COMMAND}`; \
-         ${SHELL} ${doc_doxygen_script} \
-         --host_alias=${host_alias} --mode=html $${srcdir} $${builddir})
+         ${SHELL} ${doxygen_script} \
+         --host_alias=${host_alias} --mode=html $${srcdir} $${builddir} YES)
 
 doc-man-doxygen:
        -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
          builddir=`cd ..; ${PWD_COMMAND}`; \
-         ${SHELL} ${doc_doxygen_script} \
-         --host_alias=${host_alias} --mode=man $${srcdir} $${builddir})
+         ${SHELL} ${doxygen_script} \
+         --host_alias=${host_alias} --mode=man $${srcdir} $${builddir} YES)
 
 doc-xml-doxygen:
        -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
          builddir=`cd ..; ${PWD_COMMAND}`; \
-         ${SHELL} ${doc_doxygen_script} \
-         --host_alias=${host_alias} --mode=xml $${srcdir} $${builddir})
-doc-xml-doxygen-single: doc-xml-doxygen
-       @echo "Generating doxygen xml single file..."
-       $(XSLTPROC) ${doxygen_xmldir}/combine.xslt ${doxygen_xmldir}/spine.xml > ${doxygen_xmldir}/all.xml;
-doc-html-performance:
-       -@(chmod + ${doc_performance_script}; \
-       ${doc_performance_script} ${top_srcdir} \
-       ${glibcxx_builddir}/testsuite \
-       ${top_srcdir}/testsuite/data/make_graph_htmls.xml \
-       ${top_srcdir}/testsuite/data/make_graph_test_infos.xml local g++)
-
-${glibcxx_builddir}/doc/html:
-       mkdir ${glibcxx_builddir}/doc/html
+         ${SHELL} ${doxygen_script} \
+         --host_alias=${host_alias} --mode=xml $${srcdir} $${builddir} NO)
 
-${glibcxx_builddir}/doc/pdf:
-       mkdir ${glibcxx_builddir}/doc/pdf
-
-${glibcxx_builddir}/doc/fo:
-       mkdir ${glibcxx_builddir}/doc/fo
+doc-xml-single-doxygen:
+       @echo "Generating doxygen xml single file..."
+       $(XSLTPROC) ${doxygen_outdir}/xml/combine.xslt \
+       ${doxygen_outdir}/xml/index.xml > ${doxygen_outdir}/xml/api-spine.xml;
 
-${glibcxx_builddir}/doc/xml:
-       mkdir ${glibcxx_builddir}/doc/xml
-doc-xml-validate: $(xml_sources)
+doc-latex-doxygen:
+       -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
+         builddir=`cd ..; ${PWD_COMMAND}`; \
+         ${SHELL} ${doxygen_script} \
+         --host_alias=${host_alias} --mode=latex $${srcdir} $${builddir} NO)
+
+# Chance of loooooonnggg creation time on this rule.
+doc-pdf-doxygen: stamp-latex-doxygen
+       -(cd ${doxygen_outdir}/latex && $(MAKE) -i pdf;)
+       echo "Generating doxygen pdf file...";
+       if [ -f ${doxygen_pdf} ]; then \
+         echo "... ${doxygen_pdf}"; \
+       else \
+         echo "... error"; \
+         exit 12; \
+       fi
+
+stamp-pdf-doxygen:
+       @if [ ! -f stamp-pdf-doxygen ]; then \
+         $(MAKE) doc-pdf-doxygen; \
+       fi
+       $(STAMP) stamp-pdf-doxygen
+
+stamp-xml-doxygen:
+       @if [ ! -f stamp-xml-doxygen ]; then \
+         $(MAKE) doc-xml-doxygen; \
+         $(MAKE) doc-xml-single-doxygen; \
+       fi
+       $(STAMP) stamp-xml-doxygen
+
+stamp-latex-doxygen:
+       @if [ ! -f stamp-latex-doxygen ]; then \
+         $(MAKE) doc-latex-doxygen; \
+       fi
+       $(STAMP) stamp-latex-doxygen
+
+${docbook_outdir}/html:
+       mkdir -p ${docbook_outdir}/html
+
+${docbook_outdir}/pdf:
+       mkdir -p ${docbook_outdir}/pdf
+
+${docbook_outdir}/fo:
+       mkdir -p ${docbook_outdir}/fo
+
+${docbook_outdir}/xml:
+       mkdir -p ${docbook_outdir}/xml
+doc-xml-validate-docbook: $(xml_sources)
        @echo "Generating XML validation log..."
        $(XMLLINT) $(XMLLINT_FLAGS) ${top_srcdir}/doc/xml/spine.xml
 
-doc-xml-single: $(xml_sources) ${glibcxx_builddir}/doc/xml
+doc-xml-single-docbook: $(xml_sources) ${docbook_outdir}/xml
        @echo "Generating XML single..."
        $(XMLLINT) --xinclude --noent --noblanks \
-       -o ${glibcxx_builddir}/doc/xml/spine-single.xml \
+       -o ${docbook_outdir}/xml/spine-single.xml \
        ${top_srcdir}/doc/xml/spine.xml
 
 # HTML, index plus chapters
-doc-html: $(xml_sources) ${glibcxx_builddir}/doc/html
+doc-html-docbook: $(xml_sources) ${docbook_outdir}/html
        @echo "Generating html files..."
-       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${glibcxx_builddir}/doc/html/ \
+       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${docbook_outdir}/html/ \
        $(XSL_HTML_STYLE) ${top_srcdir}/doc/xml/spine.xml
 
 # HTML, all one page
-doc-html-single: $(xml_sources) ${glibcxx_builddir}/doc/html
+doc-html-single-docbook: $(xml_sources) ${docbook_outdir}/html
        @echo "Generating html single file..."
-       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${glibcxx_builddir}/doc/html/ \
+       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${docbook_outdir}/html/ \
        $(XSL_HTML_SINGLE_STYLE) ${top_srcdir}/doc/xml/spine.xml
 
 # FO
-doc-fo: $(xml_sources) ${glibcxx_builddir}/doc/fo
+doc-fo-docbook: $(xml_sources) ${docbook_outdir}/fo
        @echo "Generating FO files..."
-       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${glibcxx_builddir}/doc/fo/spine.fo \
+       $(XSLTPROC) $(XSLTPROC_FLAGS) -o ${docbook_outdir}/fo/spine.fo \
        $(XSL_FO_STYLE) ${top_srcdir}/doc/xml/spine.xml
-
-# PDF
-# Points to current best xml to PDF generation process.
-doc-pdf: doc-pdf-prince
-doc-pdf-fop-xml: $(xml_sources) ${glibcxx_builddir}/doc/pdf 
+doc-pdf-fop-xml-docbook: $(xml_sources) ${glibcxx_builddir}/doc/pdf
        @echo "Generating pdf fop files from xml..."
        $(FOP) $(FOP_FLAGS) -xml ${top_srcdir}/doc/xml/spine.xml \
-       -xsl $(XSL_FO_STYLE) -pdf ${glibcxx_builddir}/doc/pdf/spine.pdf
+       -xsl $(XSL_FO_STYLE) -pdf ${docbook_outdir}/pdf/spine.pdf
 
-doc-pdf-fop-fo: $(xml_sources) ${glibcxx_builddir}/doc/pdf doc-fo
+doc-pdf-fop-fo-docbook: $(xml_sources) ${glibcxx_builddir}/doc/pdf doc-fo
        @echo "Generating pdf fop files from fo..."
-       $(FOP) $(FOP_FLAGS) -fo ${glibcxx_builddir}/doc/fo/spine.fo \
-       -pdf ${glibcxx_builddir}/doc/pdf/spine.pdf
-doc-pdf-xmlto: $(xml_sources) ${glibcxx_builddir}/doc/pdf
+       $(FOP) $(FOP_FLAGS) -fo ${docbook_outdir}/fo/spine.fo \
+       -pdf ${docbook_outdir}/pdf/spine.pdf
+doc-pdf-xmlto-docbook: $(xml_sources) ${docbook_outdir}/pdf
        @echo "Generating pdf xmlto files..."
        $(XML2PDF) $(XML2PDF_FLAGS) ${top_srcdir}/doc/xml/spine.xml
-doc-pdf-xmlroff: $(xml_sources) doc-fo
+doc-pdf-xmlroff-docbook: $(xml_sources) doc-fo
        @echo "Generating pdf xmlroff files..."
-       $(XMLROFF) $(XMLROFF_FLAGS) ${glibcxx_builddir}/doc/fo/spine.fo
-doc-pdf-prince: $(xml_sources) ${glibcxx_builddir}/doc/pdf
+       $(XMLROFF) $(XMLROFF_FLAGS) ${docbook_outdir}/fo/spine.fo
+doc-pdf-prince-docbook: $(xml_sources) ${docbook_outdir}/pdf
        @echo "Generating pdf prince files..."
-       $(PRINCE) $(PRINCE_FLAGS) ${top_srcdir}/doc/xml/spine.xml
+       $(PRINCE) $(PRINCE_FLAGS) ${top_srcdir}/xml/spine.xml
+doc-pdf-dblatex-docbook: $(xml_sources) ${docbook_outdir}/pdf
+       @echo "Generating pdf dblatex files..."
+       dblatex $(DBLATEX_FLAGS) ${top_srcdir}/doc/xml/spine.xml
+
+doc-pdf-docbook: doc-pdf-dblatex-docbook
+doc-html-performance:
+       -@(chmod + ${doc_performance_script}; \
+       ${doc_performance_script} ${top_srcdir} \
+       ${glibcxx_builddir}/testsuite \
+       ${top_srcdir}/testsuite/data/make_graph_htmls.xml \
+       ${top_srcdir}/testsuite/data/make_graph_test_infos.xml local g++)
 
 .PHONY: doc-doxygen-html doc-doxygen-man doc-performance
 
 # To remove directories.
 clean-local:
-       rm -rf man html pdf fo doxygen xml
+       rm -rf man html pdf fo xml doxygen docbook stamp*
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: