]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/doc/Makefile.in
re PR libstdc++/51368 (libstdc++ python pretty printers should use --with-python...
[thirdparty/gcc.git] / libstdc++-v3 / doc / Makefile.in
CommitLineData
4d9e8446 1# Makefile.in generated by automake 1.11.1 from Makefile.am.
4312e020
BK
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5213506e
RW
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
4312e020
BK
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@
4312e020 19pkgincludedir = $(includedir)/@PACKAGE@
5213506e
RW
20pkglibdir = $(libdir)/@PACKAGE@
21pkglibexecdir = $(libexecdir)/@PACKAGE@
4312e020
BK
22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23install_sh_DATA = $(install_sh) -c -m 644
24install_sh_PROGRAM = $(install_sh) -c
25install_sh_SCRIPT = $(install_sh) -c
26INSTALL_HEADER = $(INSTALL_DATA)
27transform = $(program_transform_name)
28NORMAL_INSTALL = :
29PRE_INSTALL = :
30POST_INSTALL = :
31NORMAL_UNINSTALL = :
32PRE_UNINSTALL = :
33POST_UNINSTALL = :
34build_triplet = @build@
35host_triplet = @host@
36target_triplet = @target@
13917ae3
RW
37DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
38 $(srcdir)/Makefile.am
4312e020
BK
39subdir = doc
40ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
b25e6b79
BK
41am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
42 $(top_srcdir)/../config/enable.m4 \
4312e020
BK
43 $(top_srcdir)/../config/futex.m4 \
44 $(top_srcdir)/../config/iconv.m4 \
45 $(top_srcdir)/../config/lead-dot.m4 \
46 $(top_srcdir)/../config/lib-ld.m4 \
47 $(top_srcdir)/../config/lib-link.m4 \
48 $(top_srcdir)/../config/lib-prefix.m4 \
7de6ba7a 49 $(top_srcdir)/../config/lthostflags.m4 \
4312e020
BK
50 $(top_srcdir)/../config/multi.m4 \
51 $(top_srcdir)/../config/no-executables.m4 \
ef5f59f6 52 $(top_srcdir)/../config/override.m4 \
ed0840ba 53 $(top_srcdir)/../config/stdint.m4 \
4312e020 54 $(top_srcdir)/../config/unwind_ipinfo.m4 \
eab89c86
PC
55 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
56 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
57 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
58 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
59 $(top_srcdir)/../config/gc++filt.m4 \
25e5de9a 60 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
4312e020
BK
61am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
62 $(ACLOCAL_M4)
63CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES =
5213506e 65CONFIG_CLEAN_VPATH_FILES =
4312e020
BK
66depcomp =
67am__depfiles_maybe =
68SOURCES =
4312e020
BK
69ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
70ACLOCAL = @ACLOCAL@
71ALLOCATOR_H = @ALLOCATOR_H@
72ALLOCATOR_NAME = @ALLOCATOR_NAME@
73AMTAR = @AMTAR@
74AR = @AR@
75AS = @AS@
76ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
77ATOMIC_FLAGS = @ATOMIC_FLAGS@
78ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
79AUTOCONF = @AUTOCONF@
80AUTOHEADER = @AUTOHEADER@
81AUTOMAKE = @AUTOMAKE@
82AWK = @AWK@
83BASIC_FILE_CC = @BASIC_FILE_CC@
84BASIC_FILE_H = @BASIC_FILE_H@
85CC = @CC@
86CCODECVT_CC = @CCODECVT_CC@
87CCOLLATE_CC = @CCOLLATE_CC@
88CCTYPE_CC = @CCTYPE_CC@
89CFLAGS = @CFLAGS@
90CLOCALE_CC = @CLOCALE_CC@
91CLOCALE_H = @CLOCALE_H@
92CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
93CMESSAGES_CC = @CMESSAGES_CC@
94CMESSAGES_H = @CMESSAGES_H@
95CMONEY_CC = @CMONEY_CC@
96CNUMERIC_CC = @CNUMERIC_CC@
97CPP = @CPP@
98CPPFLAGS = @CPPFLAGS@
99CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
100CSTDIO_H = @CSTDIO_H@
101CTIME_CC = @CTIME_CC@
102CTIME_H = @CTIME_H@
103CXX = @CXX@
104CXXCPP = @CXXCPP@
c18dc5cc 105CXXFILT = @CXXFILT@
4312e020
BK
106CXXFLAGS = @CXXFLAGS@
107CYGPATH_W = @CYGPATH_W@
108C_INCLUDE_DIR = @C_INCLUDE_DIR@
b25e6b79 109DBLATEX = @DBLATEX@
4312e020
BK
110DEBUG_FLAGS = @DEBUG_FLAGS@
111DEFS = @DEFS@
b25e6b79
BK
112DOT = @DOT@
113DOXYGEN = @DOXYGEN@
25e5de9a 114DSYMUTIL = @DSYMUTIL@
4312e020
BK
115DUMPBIN = @DUMPBIN@
116ECHO_C = @ECHO_C@
117ECHO_N = @ECHO_N@
118ECHO_T = @ECHO_T@
119EGREP = @EGREP@
120ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
121EXEEXT = @EXEEXT@
122EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
123FGREP = @FGREP@
124GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
ec6fa56a 125GLIBCXX_LIBS = @GLIBCXX_LIBS@
4312e020 126GREP = @GREP@
5213506e 127INSTALL = @INSTALL@
4312e020
BK
128INSTALL_DATA = @INSTALL_DATA@
129INSTALL_PROGRAM = @INSTALL_PROGRAM@
130INSTALL_SCRIPT = @INSTALL_SCRIPT@
131INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
132LD = @LD@
133LDFLAGS = @LDFLAGS@
134LIBICONV = @LIBICONV@
4312e020
BK
135LIBOBJS = @LIBOBJS@
136LIBS = @LIBS@
4312e020 137LIBTOOL = @LIBTOOL@
25e5de9a 138LIPO = @LIPO@
4312e020
BK
139LN_S = @LN_S@
140LTLIBICONV = @LTLIBICONV@
141LTLIBOBJS = @LTLIBOBJS@
142MAINT = @MAINT@
143MAKEINFO = @MAKEINFO@
5213506e 144MKDIR_P = @MKDIR_P@
4312e020 145NM = @NM@
25e5de9a
PG
146NMEDIT = @NMEDIT@
147OBJDUMP = @OBJDUMP@
4312e020
BK
148OBJEXT = @OBJEXT@
149OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
150OPT_LDFLAGS = @OPT_LDFLAGS@
151OS_INC_SRCDIR = @OS_INC_SRCDIR@
25e5de9a
PG
152OTOOL = @OTOOL@
153OTOOL64 = @OTOOL64@
4312e020
BK
154PACKAGE = @PACKAGE@
155PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
156PACKAGE_NAME = @PACKAGE_NAME@
157PACKAGE_STRING = @PACKAGE_STRING@
158PACKAGE_TARNAME = @PACKAGE_TARNAME@
5213506e 159PACKAGE_URL = @PACKAGE_URL@
4312e020
BK
160PACKAGE_VERSION = @PACKAGE_VERSION@
161PATH_SEPARATOR = @PATH_SEPARATOR@
b25e6b79 162PDFLATEX = @PDFLATEX@
8bae34da 163PIC_CXXFLAGS = @PIC_CXXFLAGS@
4312e020
BK
164RANLIB = @RANLIB@
165SECTION_FLAGS = @SECTION_FLAGS@
166SECTION_LDFLAGS = @SECTION_LDFLAGS@
167SED = @SED@
168SET_MAKE = @SET_MAKE@
169SHELL = @SHELL@
170STRIP = @STRIP@
171SYMVER_FILE = @SYMVER_FILE@
172TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
173USE_NLS = @USE_NLS@
174VERSION = @VERSION@
175WARN_FLAGS = @WARN_FLAGS@
176WERROR = @WERROR@
b25e6b79
BK
177
178# Validate existing XML structure.
179XMLLINT = xmllint
180XSLTPROC = xsltproc
b329dd10 181XSL_STYLE_DIR = @XSL_STYLE_DIR@
5213506e
RW
182abs_builddir = @abs_builddir@
183abs_srcdir = @abs_srcdir@
184abs_top_builddir = @abs_top_builddir@
185abs_top_srcdir = @abs_top_srcdir@
4312e020
BK
186ac_ct_CC = @ac_ct_CC@
187ac_ct_CXX = @ac_ct_CXX@
188ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
189am__leading_dot = @am__leading_dot@
190am__tar = @am__tar@
191am__untar = @am__untar@
192baseline_dir = @baseline_dir@
00fc1bf6 193baseline_subdir_switch = @baseline_subdir_switch@
4312e020
BK
194bindir = @bindir@
195build = @build@
196build_alias = @build_alias@
197build_cpu = @build_cpu@
198build_os = @build_os@
199build_vendor = @build_vendor@
5213506e 200builddir = @builddir@
4312e020
BK
201check_msgfmt = @check_msgfmt@
202datadir = @datadir@
5213506e
RW
203datarootdir = @datarootdir@
204docdir = @docdir@
205dvidir = @dvidir@
4312e020
BK
206enable_shared = @enable_shared@
207enable_static = @enable_static@
208exec_prefix = @exec_prefix@
209glibcxx_MOFILES = @glibcxx_MOFILES@
210glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
211glibcxx_POFILES = @glibcxx_POFILES@
212glibcxx_builddir = @glibcxx_builddir@
213glibcxx_localedir = @glibcxx_localedir@
214glibcxx_prefixdir = @glibcxx_prefixdir@
215glibcxx_srcdir = @glibcxx_srcdir@
4312e020
BK
216glibcxx_toolexecdir = @glibcxx_toolexecdir@
217glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
218gxx_include_dir = @gxx_include_dir@
219host = @host@
220host_alias = @host_alias@
221host_cpu = @host_cpu@
222host_os = @host_os@
223host_vendor = @host_vendor@
b25e6b79
BK
224
225# HTML
226htmldir = "$(DESTDIR)@docdir@"
4312e020 227includedir = @includedir@
b25e6b79
BK
228
229# TEXINFO,INFO
230infodir = "$(DESTDIR)@infodir@"
4312e020
BK
231install_sh = @install_sh@
232libdir = @libdir@
233libexecdir = @libexecdir@
234libtool_VERSION = @libtool_VERSION@
5213506e 235localedir = @localedir@
4312e020 236localstatedir = @localstatedir@
7de6ba7a 237lt_host_flags = @lt_host_flags@
b25e6b79
BK
238
239# MAN
240mandir = "$(DESTDIR)@mandir@"
4312e020
BK
241mkdir_p = @mkdir_p@
242multi_basedir = @multi_basedir@
243oldincludedir = @oldincludedir@
b25e6b79
BK
244
245# PDF
246pdfdir = "$(DESTDIR)@docdir@"
4312e020
BK
247port_specific_symbol_files = @port_specific_symbol_files@
248prefix = @prefix@
249program_transform_name = @program_transform_name@
5213506e 250psdir = @psdir@
2a5d011c 251python_mod_dir = @python_mod_dir@
4312e020
BK
252sbindir = @sbindir@
253sharedstatedir = @sharedstatedir@
5213506e 254srcdir = @srcdir@
4312e020
BK
255sysconfdir = @sysconfdir@
256target = @target@
257target_alias = @target_alias@
258target_cpu = @target_cpu@
259target_os = @target_os@
260target_vendor = @target_vendor@
5213506e
RW
261top_build_prefix = @top_build_prefix@
262top_builddir = @top_builddir@
263top_srcdir = @top_srcdir@
5d1c8e77 264toplevel_builddir = @toplevel_builddir@
4312e020
BK
265toplevel_srcdir = @toplevel_srcdir@
266
267# May be used by various substitution variables.
268gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
269MAINT_CHARSET = latin1
270mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
271PWD_COMMAND = $${PWDCMD-pwd}
272STAMP = echo timestamp >
273toolexecdir = $(glibcxx_toolexecdir)
274toolexeclibdir = $(glibcxx_toolexeclibdir)
275
276# These bits are all figured out from configure. Look in acinclude.m4
277# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
278CONFIG_CXXFLAGS = \
4ebb4fbf 279 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
4312e020
BK
280
281WARN_CXXFLAGS = \
4f7c82dc 282 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once -Wabi
4312e020
BK
283
284
285# -I/-D flags to pass when compiling.
286AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
b25e6b79
BK
287@BUILD_XML_FALSE@STAMP_XML =
288
289# Documentation Overview
290#
291# There are two main input materials for libstdc++ documentation.
292# The first is the doxygen markup in libstdc++ sources, which is a
293# reference to the API. And the second is the manual, via docbook markup in
294# doc/xml/.
295#
296# A third and more obscure option deals with charting performance
297# tests, and should be considered experimental.
298
299# Documentation conditionals for output.
300@BUILD_XML_TRUE@STAMP_XML = doc-xml
301@BUILD_XML_FALSE@STAMP_INSTALL_XML =
302@BUILD_XML_TRUE@STAMP_INSTALL_XML = doc-install-xml
303@BUILD_HTML_FALSE@STAMP_HTML =
304@BUILD_HTML_TRUE@STAMP_HTML = doc-html
305@BUILD_HTML_FALSE@STAMP_INSTALL_HTML =
306@BUILD_HTML_TRUE@STAMP_INSTALL_HTML = doc-install-html
307@BUILD_MAN_FALSE@STAMP_MAN =
308@BUILD_MAN_TRUE@STAMP_MAN = doc-man
309@BUILD_MAN_FALSE@STAMP_INSTALL_MAN =
310@BUILD_MAN_TRUE@STAMP_INSTALL_MAN = doc-install-man
311@BUILD_PDF_FALSE@STAMP_PDF =
312@BUILD_PDF_TRUE@STAMP_PDF = doc-pdf
313@BUILD_PDF_FALSE@STAMP_INSTALL_PDF =
314@BUILD_PDF_TRUE@STAMP_INSTALL_PDF = doc-install-pdf
315@BUILD_EPUB_FALSE@STAMP_EPUB = doc-epub
316@BUILD_EPUB_TRUE@STAMP_EPUB = doc-epub
317@BUILD_EPUB_FALSE@STAMP_INSTALL_EPUB = doc-install-epub
318@BUILD_EPUB_TRUE@STAMP_INSTALL_EPUB = doc-install-epub
319
320# Default creation and installation rules.
321# Point to best sub-rule for the requested documentation target and
322# create, and then install toplevel directory with standardized names
323# and layouts.
324
325# XML
326xmldir = "$(DESTDIR)@docdir@"
327
328# EPUB
329# Assumes ruby installed
330epubdir = "$(DESTDIR)@docdir@"
4312e020 331
8a165db0 332# Doxygen configuration
0f752f44 333# Assumes doxygen, graphviz (with dot), pdflatex installed
03a32789
BK
334doxygen_script = ${top_srcdir}/scripts/run_doxygen
335doxygen_outdir = ${glibcxx_builddir}/doc/doxygen
7d8cafcd 336api_xml = ${doxygen_outdir}/xml/libstdc++-api-single.xml
0f752f44 337doxygen_pdf = ${doxygen_outdir}/latex/refman.pdf
5ab3a5af 338api_pdf = ${doxygen_outdir}/pdf/libstdc++-api.pdf
0f752f44 339
8a165db0
BK
340# Docbook configuration.
341# Assumes
342# libxslt
0f752f44
BK
343# dblatex
344# pdflatex
8a165db0 345# docbook-style-xsl
0f752f44 346# emacs-nxml-mode
03a32789 347docbook_outdir = ${glibcxx_builddir}/doc/docbook
0f752f44
BK
348xml_dir = ${glibcxx_srcdir}/doc/xml
349xml_sources_basic = \
350 ${xml_dir}/spine.xml \
351 ${xml_dir}/authors.xml \
352 ${xml_dir}/api.xml \
353 ${xml_dir}/faq.xml
354
355xml_sources_manual = \
356 ${xml_dir}/manual/abi.xml \
357 ${xml_dir}/manual/algorithms.xml \
358 ${xml_dir}/manual/allocator.xml \
359 ${xml_dir}/manual/auto_ptr.xml \
360 ${xml_dir}/manual/atomics.xml \
361 ${xml_dir}/manual/backwards_compatibility.xml \
362 ${xml_dir}/manual/bitmap_allocator.xml \
363 ${xml_dir}/manual/build_hacking.xml \
364 ${xml_dir}/manual/codecvt.xml \
365 ${xml_dir}/manual/concurrency.xml \
366 ${xml_dir}/manual/concurrency_extensions.xml \
367 ${xml_dir}/manual/configure.xml \
368 ${xml_dir}/manual/containers.xml \
369 ${xml_dir}/manual/ctype.xml \
370 ${xml_dir}/manual/debug_mode.xml \
371 ${xml_dir}/manual/debug.xml \
372 ${xml_dir}/manual/diagnostics.xml \
d2b0caaa 373 ${xml_dir}/manual/documentation_hacking.xml \
0f752f44
BK
374 ${xml_dir}/manual/evolution.xml \
375 ${xml_dir}/manual/extensions.xml \
376 ${xml_dir}/manual/internals.xml \
377 ${xml_dir}/manual/intro.xml \
378 ${xml_dir}/manual/io.xml \
379 ${xml_dir}/manual/iterators.xml \
380 ${xml_dir}/manual/locale.xml \
381 ${xml_dir}/manual/localization.xml \
382 ${xml_dir}/manual/messages.xml \
383 ${xml_dir}/manual/mt_allocator.xml \
384 ${xml_dir}/manual/numerics.xml \
385 ${xml_dir}/manual/parallel_mode.xml \
ce1140e3 386 ${xml_dir}/manual/policy_data_structures.xml \
0f752f44
BK
387 ${xml_dir}/manual/prerequisites.xml \
388 ${xml_dir}/manual/profile_mode.xml \
389 ${xml_dir}/manual/shared_ptr.xml \
390 ${xml_dir}/manual/spine.xml \
391 ${xml_dir}/manual/status_cxx1998.xml \
f25481f4 392 ${xml_dir}/manual/status_cxx2011.xml \
0f752f44
BK
393 ${xml_dir}/manual/status_cxxtr1.xml \
394 ${xml_dir}/manual/status_cxxtr24733.xml \
395 ${xml_dir}/manual/strings.xml \
396 ${xml_dir}/manual/support.xml \
397 ${xml_dir}/manual/test.xml \
ce1140e3 398 ${xml_dir}/manual/test_policy_data_structures.xml \
0f752f44
BK
399 ${xml_dir}/manual/using.xml \
400 ${xml_dir}/manual/using_exceptions.xml \
401 ${xml_dir}/manual/utilities.xml \
402 ${xml_dir}/manual/appendix_free.xml \
403 ${xml_dir}/manual/appendix_contributing.xml \
404 ${xml_dir}/manual/appendix_porting.xml
8a165db0
BK
405
406xml_sources_extra = \
669b5857 407 ${xml_dir}/gnu/fdl-1.3.xml \
60f8b2e2 408 ${xml_dir}/gnu/gpl-3.0.xml
0f752f44
BK
409
410xml_sources = \
411 ${xml_sources_basic} \
412 ${xml_sources_manual} \
413 ${xml_sources_extra}
8a165db0 414
154c4a08
BK
415xml_image_dir = ${xml_dir}/images
416xml_image_basic = \
417 ${xml_image_dir}/confdeps.png \
418 ${xml_image_dir}/pbds_balls_and_bins.png \
419 ${xml_image_dir}/pbds_container_tag_hierarchy.png \
420 ${xml_image_dir}/pbds_different_underlying_dss_1.png \
421 ${xml_image_dir}/pbds_different_underlying_dss_2.png \
422 ${xml_image_dir}/pbds_embedded_lists_1.png \
423 ${xml_image_dir}/pbds_embedded_lists_2.png \
424 ${xml_image_dir}/pbds_embedded_lists_3.png \
425 ${xml_image_dir}/pbds_exception_hierarchy.png \
426 ${xml_image_dir}/pbds_hash_policy_cd.png \
427 ${xml_image_dir}/pbds_hash_ranged_hash_range_hashing_fns.png \
428 ${xml_image_dir}/pbds_hash_range_hashing_seq_diagram2.png \
429 ${xml_image_dir}/pbds_hash_range_hashing_seq_diagram.png \
430 ${xml_image_dir}/pbds_insert_resize_sequence_diagram1.png \
431 ${xml_image_dir}/pbds_insert_resize_sequence_diagram2.png \
432 ${xml_image_dir}/pbds_insert_resize_sequence_diagram3.png \
433 ${xml_image_dir}/pbds_invalidation_guarantee_erase.png \
434 ${xml_image_dir}/pbds_invalidation_tag_hierarchy.png \
435 ${xml_image_dir}/pbds_list_update.png \
436 ${xml_image_dir}/pbds_node_invariants.png \
437 ${xml_image_dir}/pbds_pat_trie.png \
438 ${xml_image_dir}/pbds_point_iterator_hierarchy.png \
439 ${xml_image_dir}/pbds_point_iterators_range_ops_1.png \
440 ${xml_image_dir}/pbds_point_iterators_range_ops_2.png \
441 ${xml_image_dir}/pbds_priority_queue_different_underlying_dss.png \
442 ${xml_image_dir}/pbds_priority_queue_tag_hierarchy.png \
443 ${xml_image_dir}/pbds_rationale_null_node_updator.png \
444 ${xml_image_dir}/pbds_resize_policy_cd.png \
445 ${xml_image_dir}/pbds_restoring_node_invariants.png \
446 ${xml_image_dir}/pbds_simple_list.png \
447 ${xml_image_dir}/pbds_tree_node_invalidations.png \
448 ${xml_image_dir}/pbds_tree_node_invariants.png \
449 ${xml_image_dir}/pbds_tree_node_updator_policy_cd.png \
450 ${xml_image_dir}/pbds_trie_node_updator_policy_cd.png \
696d4bc1 451 ${xml_image_dir}/pbds_update_seq_diagram.png
154c4a08
BK
452
453xml_image_generated = \
454 ${xml_image_dir}/pbds_binary_priority_queue_int_push_pop.png \
455 ${xml_image_dir}/pbds_binary_priority_queue_int_push.png \
456 ${xml_image_dir}/pbds_ccgp_hash_int_subscript_insert.png \
457 ${xml_image_dir}/pbds_cc_hash_int_find.png \
458 ${xml_image_dir}/pbds_cc_hash_int_subscript_find.png \
459 ${xml_image_dir}/pbds_cc_hash_int_subscript_insert.png \
460 ${xml_image_dir}/pbds_gp_hash_int_find.png \
461 ${xml_image_dir}/pbds_gp_hash_int_subscript_find.png \
462 ${xml_image_dir}/pbds_gp_hash_int_subscript_insert.png \
463 ${xml_image_dir}/pbds_hash_int_erase_mem.png \
464 ${xml_image_dir}/pbds_hash_text_find.png \
465 ${xml_image_dir}/pbds_hash_zlob_int_find.png \
466 ${xml_image_dir}/pbds_multimap_text_find_large_s2p_hash.png \
467 ${xml_image_dir}/pbds_multimap_text_find_large_s2p_tree.png \
468 ${xml_image_dir}/pbds_multimap_text_find_small_s2p_hash.png \
469 ${xml_image_dir}/pbds_multimap_text_find_small_s2p_tree.png \
470 ${xml_image_dir}/pbds_multimap_text_insert_large_s2p_hash.png \
471 ${xml_image_dir}/pbds_multimap_text_insert_large_s2p_tree.png \
472 ${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_hash.png \
473 ${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_tree.png \
474 ${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_hash.png \
475 ${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_tree.png \
476 ${xml_image_dir}/pbds_multimap_text_insert_small_s2p_hash.png \
477 ${xml_image_dir}/pbds_multimap_text_insert_small_s2p_tree.png \
478 ${xml_image_dir}/pbds_pairing_priority_queue_text_modify_down_thin.png \
479 ${xml_image_dir}/pbds_pairing_priority_queue_text_modify_up_thin.png \
480 ${xml_image_dir}/pbds_pairing_priority_queue_text_push_pop.png \
481 ${xml_image_dir}/pbds_pairing_priority_queue_text_push.png \
482 ${xml_image_dir}/pbds_priority_queue_int_push_pop.png \
483 ${xml_image_dir}/pbds_priority_queue_int_push.png \
484 ${xml_image_dir}/pbds_priority_queue_text_join.png \
485 ${xml_image_dir}/pbds_priority_queue_text_modify_down.png \
486 ${xml_image_dir}/pbds_priority_queue_text_modify_up.png \
487 ${xml_image_dir}/pbds_priority_queue_text_pop_mem.png \
488 ${xml_image_dir}/pbds_priority_queue_text_push_pop.png \
489 ${xml_image_dir}/pbds_priority_queue_text_push.png \
490 ${xml_image_dir}/pbds_tree_int_find.png \
491 ${xml_image_dir}/pbds_tree_order_statistics.png \
492 ${xml_image_dir}/pbds_tree_split_join.png \
493 ${xml_image_dir}/pbds_tree_text_find.png \
494 ${xml_image_dir}/pbds_tree_text_insert_node.png \
495 ${xml_image_dir}/pbds_tree_text_insert_trie.png \
496 ${xml_image_dir}/pbds_tree_text_insert_vector.png \
497 ${xml_image_dir}/pbds_tree_text_lor_find.png
498
499xml_images = ${xml_image_basic} ${xml_image_generated}
a6aff075
BK
500xml_extradir = ${glibcxx_srcdir}/doc/html/ext
501xml_extra = \
502 ${xml_extradir}/lwg-active.html \
503 ${xml_extradir}/lwg-closed.html \
154c4a08 504 ${xml_extradir}/lwg-defects.html
a6aff075 505
8a165db0 506xml_noinst = \
0f752f44
BK
507 ${xml_dir}/book.txml \
508 ${xml_dir}/chapter.txml \
d2b0caaa 509 ${xml_dir}/class.txml \
154c4a08
BK
510 ${xml_image_dir}/confdeps.dot \
511 ${xml_image_dir}/confdeps.pdf
8a165db0 512
ce1140e3
BK
513XSLT_FLAGS = --nonet --xinclude
514XSLT_PARAM = --param toc.section.depth 4
b329dd10
BK
515#XSL_STYLE_DIR = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns
516#XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets
8a165db0 517XSL_FO_STYLE = $(XSL_STYLE_DIR)/fo/docbook.xsl
b25e6b79
BK
518XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml-1_1/chunk.xsl
519XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml-1_1/docbook.xsl
43fe49ec 520XSL_EPUB_STYLE = $(XSL_STYLE_DIR)/epub3/chunk.xsl
b329dd10
BK
521LINT_FLAGS = --debug --xinclude --noent --noblanks --noout
522SCHEMA_FLAGS = http://www.docbook.org/xml/5.0/dtd/docbook.dtd
523#SCHEMA_FLAGS = --nonet /usr/share/xml/docbook5/schema/dtd/5.0/docbook.dtd
524XMLLINT_VALID_FLAGS = $(LINT_FLAGS) --dtdvalid $(SCHEMA_FLAGS)
b25e6b79 525XMLLINT_FLAGS = --xinclude --nsclean --c14n --noent --noblanks --nocdata
547f963b
BK
526
527# XML, all one page
528# Some info on canonicalization
529# http://www.mail-archive.com/help-texinfo@gnu.org/msg00864.html
530manual_xml = ${docbook_outdir}/xml/libstdc++-manual-single.xml
b25e6b79 531set_xml = ${docbook_outdir}/xml/libstdc++-set-single.xml
8a165db0 532
5bca11c4
BK
533# HTML, all one page
534manual_html = ${docbook_outdir}/html/libstdc++-manual-single.html
8a165db0 535
5bca11c4
BK
536# PDF, via dblatex
537manual_pdf = ${docbook_outdir}/pdf/libstdc++-manual.pdf
154c4a08 538DBLATEX_FLAGS = --dump --verbose --pdf
03a32789 539
b25e6b79
BK
540# TEXINFO, via docbook2X
541# NB: Both experimental and tempermental
542manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
543manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
547f963b
BK
544DB2TEXI_FLAGS = \
545 --encoding=utf-8//TRANSLIT \
546 --string-param output-file="libstdc++-manual" \
547 --string-param directory-category="GNU C++ Library" \
7d8cafcd 548 --string-param explicit-node-names=true
547f963b
BK
549
550
43fe49ec
BK
551# EPUB version 3
552# http://sourceforge.net/projects/docbook/files/epub3/
553# Can verify document with epubcheck
b25e6b79
BK
554manual_epub = ${docbook_outdir}/epub/libstdc++-manual.epub
555
03a32789
BK
556# Performance doc and graph configuration.
557# Assumes pychart, beautiful soup installed.
154c4a08
BK
558# Generates the plots/graph imagery for performance testing.
559doc_performance_script = ${top_srcdir}/scripts/make_graph.py
40e053e3 560
4312e020 561# By adding these files here, automake will remove them for 'make clean'
b25e6b79 562CLEANFILES = *.log stamp*
4312e020
BK
563all: all-am
564
565.SUFFIXES:
566$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
567 @for dep in $?; do \
568 case '$(am__configure_deps)' in \
569 *$$dep*) \
5213506e
RW
570 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
571 && { if test -f $@; then exit 0; else break; fi; }; \
4312e020
BK
572 exit 1;; \
573 esac; \
574 done; \
5213506e
RW
575 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps doc/Makefile'; \
576 $(am__cd) $(top_srcdir) && \
577 $(AUTOMAKE) --foreign --ignore-deps doc/Makefile
4312e020
BK
578.PRECIOUS: Makefile
579Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
580 @case '$?' in \
581 *config.status*) \
582 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
583 *) \
584 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
585 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
586 esac;
587
588$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
589 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
590
591$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
592 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
593$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
594 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
5213506e 595$(am__aclocal_m4_deps):
4312e020
BK
596
597mostlyclean-libtool:
598 -rm -f *.lo
599
600clean-libtool:
601 -rm -rf .libs _libs
602tags: TAGS
603TAGS:
604
605ctags: CTAGS
606CTAGS:
607
4312e020
BK
608check-am: all-am
609check: check-am
610all-am: Makefile
611installdirs:
612install: install-am
613install-exec: install-exec-am
614install-data: install-data-am
615uninstall: uninstall-am
616
617install-am: all-am
618 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
619
620installcheck: installcheck-am
621install-strip:
622 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
623 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
624 `test -z '$(STRIP)' || \
625 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
626mostlyclean-generic:
627
628clean-generic:
629 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
630
631distclean-generic:
632 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
5213506e 633 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
4312e020
BK
634
635maintainer-clean-generic:
636 @echo "This command is intended for maintainers to use"
637 @echo "it deletes files that may require special tools to rebuild."
638clean: clean-am
639
640clean-am: clean-generic clean-libtool clean-local mostlyclean-am
641
642distclean: distclean-am
643 -rm -f Makefile
5213506e 644distclean-am: clean-am distclean-generic
4312e020 645
4312e020
BK
646dvi-am:
647
5213506e
RW
648html-am:
649
4312e020
BK
650info-am:
651
652install-data-am:
653
5213506e
RW
654install-dvi-am:
655
4312e020
BK
656install-exec-am:
657
5213506e
RW
658install-html-am:
659
5213506e
RW
660install-info-am:
661
5213506e
RW
662install-pdf-am:
663
5213506e
RW
664install-ps-am:
665
4312e020
BK
666installcheck-am:
667
668maintainer-clean: maintainer-clean-am
669 -rm -f Makefile
670maintainer-clean-am: distclean-am maintainer-clean-generic
671
672mostlyclean: mostlyclean-am
673
674mostlyclean-am: mostlyclean-generic mostlyclean-libtool
675
4312e020
BK
676pdf-am:
677
4312e020
BK
678ps-am:
679
5213506e
RW
680uninstall-am:
681
682.MAKE: install-am install-strip
4312e020
BK
683
684.PHONY: all all-am check check-am clean clean-generic clean-libtool \
13917ae3
RW
685 clean-local distclean distclean-generic distclean-libtool dvi \
686 dvi-am html html-am info info-am install install-am \
687 install-data install-data-am install-dvi install-dvi-am \
688 install-exec install-exec-am install-html install-html-am \
689 install-info install-info-am install-man install-pdf \
690 install-pdf-am install-ps install-ps-am install-strip \
691 installcheck installcheck-am installdirs maintainer-clean \
692 maintainer-clean-generic mostlyclean mostlyclean-generic \
693 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
4312e020 694
03a32789 695
b25e6b79 696# Documentation primary rules.
7d8cafcd 697#
b25e6b79
BK
698# xml:
699# html:
700# pdf:
701# man:
702# info:
703# ps:
704# dvi:
705# epub:
706# install-xml:
707# install-html:
708# install-pdf:
709# install-man:
710# install-info:
711# install-ps:
712# install-dvi:
713# install-epub:
5bca11c4 714
b25e6b79
BK
715xml: $(STAMP_XML)
716install-xml: $(STAMP_INSTALL_XML)
03a32789 717
b25e6b79
BK
718html: $(STAMP_HTML)
719install-html: $(STAMP_INSTALL_HTML)
7d8cafcd 720
b25e6b79
BK
721man: $(STAMP_MAN)
722install-man: $(STAMP_INSTALL_MAN)
03a32789 723
b25e6b79
BK
724pdf: $(STAMP_PDF)
725install-pdf: $(STAMP_INSTALL_PDF)
03a32789 726
b25e6b79
BK
727epub: $(STAMP_EPUB)
728install-epub: $(STAMP_INSTALL_EPUB)
547f963b 729
b25e6b79
BK
730info:
731install-info:
7d8cafcd 732
b25e6b79
BK
733ps:
734install-ps:
4312e020 735
b25e6b79
BK
736dvi:
737install-dvi:
738stamp-xml: stamp-xml-single-docbook stamp-xml-single-doxygen
739 $(STAMP) stamp-xml
740
741doc-xml: stamp-xml
742
743doc-install-xml: doc-xml
744 test -z ${xmldir} || $(mkinstalldirs) ${xmldir}
745 $(INSTALL_DATA) ${manual_xml} ${xmldir}
746 $(INSTALL_DATA) ${api_xml} ${xmldir}
a6aff075 747stamp-html: stamp-html-docbook-data stamp-html-doxygen
b25e6b79
BK
748 $(STAMP) stamp-html
749
750doc-html: stamp-html
751
752doc-install-html: doc-html
753 test -z ${htmldir} || $(mkinstalldirs) ${htmldir}
754 cp -r ${docbook_outdir}/html ${htmldir}/libstdc++-manual.html;
755 cp -r ${doxygen_outdir}/html ${htmldir}/libstdc++-api.html;
756stamp-pdf: stamp-pdf-docbook stamp-pdf-doxygen
757 $(STAMP) stamp-pdf
758
759doc-pdf: stamp-pdf
760
761doc-install-pdf: doc-pdf
762 test -z ${pdfdir} || $(mkinstalldirs) ${pdfdir}
763 $(INSTALL_DATA) ${docbook_outdir}/pdf/libstdc++-manual.pdf ${pdfdir}
764 $(INSTALL_DATA) ${doxygen_outdir}/pdf/libstdc++-api.pdf ${pdfdir}
765stamp-man: stamp-man-doxygen
766 $(STAMP) stamp-man
767
768doc-man: stamp-man
769
770doc-install-man: doc-man
771 test -z ${mandir} || $(mkinstalldirs) ${mandir}
772 cp -r ${doxygen_outdir}/man/man3 ${mandir}
773stamp-texinfo: stamp-texinfo-docbook
774 $(STAMP) stamp-texinfo
775
776stamp-info: stamp-info-docbook
777 $(STAMP) stamp-info
778
779doc-texinfo: stamp-texinfo
780
781doc-info: stamp-info
782
783doc-install-texinfo: doc-texinfo
784 test -z ${infodir} || $(mkinstalldirs) ${infodir}
785 $(INSTALL_DATA) ${manual_texi} ${infodir}
786
787doc-install-info: doc-info
788 test -z ${infodir} || $(mkinstalldirs) ${infodir}
789 $(INSTALL_DATA) ${manual_info} ${infodir}
790stamp-epub: stamp-epub-docbook
791 $(STAMP) stamp-epub
792
793doc-epub: stamp-epub
8a165db0 794
b25e6b79
BK
795doc-install-epub: doc-epub
796 test -z ${epubdir} || $(mkinstalldirs) ${epubdir}
797 $(INSTALL_DATA) ${manual_epub} ${epubdir}
798
799${doxygen_outdir}/xml:
800 mkdir -p ${doxygen_outdir}/xml
801
802${doxygen_outdir}/html:
803 mkdir -p ${doxygen_outdir}/html
804
805${doxygen_outdir}/latex:
806 mkdir -p ${doxygen_outdir}/latex
807
808${doxygen_outdir}/pdf:
809 mkdir -p ${doxygen_outdir}/pdf
810
811${doxygen_outdir}/man:
812 mkdir -p ${doxygen_outdir}/man
813
814stamp-xml-doxygen: ${doxygen_outdir}/xml
8a165db0
BK
815 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
816 builddir=`cd ..; ${PWD_COMMAND}`; \
03a32789 817 ${SHELL} ${doxygen_script} \
40e053e3 818 --host_alias=${host_alias} --mode=xml $${srcdir} $${builddir} NO)
b25e6b79
BK
819 $(STAMP) stamp-xml-doxygen
820
821stamp-xml-single-doxygen: stamp-xml-doxygen
8a165db0 822 @echo "Generating doxygen xml single file..."
03a32789 823 $(XSLTPROC) ${doxygen_outdir}/xml/combine.xslt \
7d8cafcd 824 ${doxygen_outdir}/xml/index.xml > ${api_xml};
b25e6b79 825 $(STAMP) stamp-xml-single-doxygen
0f752f44 826
b25e6b79 827stamp-html-doxygen: ${doxygen_outdir}/html
0f752f44
BK
828 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
829 builddir=`cd ..; ${PWD_COMMAND}`; \
830 ${SHELL} ${doxygen_script} \
b25e6b79
BK
831 --host_alias=${host_alias} --mode=html $${srcdir} $${builddir} YES)
832 $(STAMP) stamp-html-doxygen
0f752f44 833
b25e6b79
BK
834stamp-latex-doxygen: ${doxygen_outdir}/latex
835 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
836 builddir=`cd ..; ${PWD_COMMAND}`; \
837 ${SHELL} ${doxygen_script} \
838 --host_alias=${host_alias} --mode=latex $${srcdir} $${builddir} NO)
839 $(STAMP) stamp-latex-doxygen
5ab3a5af 840
b25e6b79
BK
841# Chance of loooooonnggg creation time on this rule. Iff this fails,
842# look at refman.log and see if TeX's memory is exhausted. Symptoms
843# include asking a wizard to enlarge capacity. If this is the case,
844# find texmf.cnf and add a zero for pool_size, string_vacancies,
845# max_strings, and pool_free values.
846stamp-pdf-doxygen: stamp-latex-doxygen ${doxygen_outdir}/pdf
0f752f44
BK
847 -(cd ${doxygen_outdir}/latex && $(MAKE) -i pdf;)
848 echo "Generating doxygen pdf file...";
849 if [ -f ${doxygen_pdf} ]; then \
5ab3a5af
BK
850 mv ${doxygen_pdf} ${api_pdf} ; \
851 echo ":: PDF file is ${api_pdf}"; \
0f752f44
BK
852 else \
853 echo "... error"; \
854 exit 12; \
855 fi
60f8b2e2
BK
856 $(STAMP) stamp-pdf-doxygen
857
b25e6b79
BK
858stamp-man-doxygen: ${doxygen_outdir}/man
859 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
860 builddir=`cd ..; ${PWD_COMMAND}`; \
861 ${SHELL} ${doxygen_script} \
862 --host_alias=${host_alias} --mode=man $${srcdir} $${builddir} YES)
863 $(STAMP) stamp-man-doxygen
0f752f44 864
b25e6b79
BK
865doc-xml-doxygen: stamp-xml-doxygen
866doc-xml-single-doxygen: stamp-xml-single-doxygen
867doc-html-doxygen: stamp-html-doxygen
868doc-latex-doxygen: stamp-latex-doxygen
869doc-pdf-doxygen: stamp-pdf-doxygen
870doc-man-doxygen: stamp-man-doxygen
871
872${docbook_outdir}/epub:
873 mkdir -p ${docbook_outdir}/epub
43fe49ec 874 mkdir -p ${docbook_outdir}/epub/OEBPS/images
4312e020 875
547f963b
BK
876${docbook_outdir}/fo:
877 mkdir -p ${docbook_outdir}/fo
878
03a32789
BK
879${docbook_outdir}/html:
880 mkdir -p ${docbook_outdir}/html
5e3a0ed1 881 mkdir -p ${docbook_outdir}/html/ext
a6aff075 882 mkdir -p ${docbook_outdir}/html/images
5e3a0ed1 883 mkdir -p ${docbook_outdir}/html/manual
8a165db0 884
03a32789
BK
885${docbook_outdir}/pdf:
886 mkdir -p ${docbook_outdir}/pdf
8a165db0 887
547f963b
BK
888${docbook_outdir}/texinfo:
889 mkdir -p ${docbook_outdir}/texinfo
8a165db0 890
03a32789
BK
891${docbook_outdir}/xml:
892 mkdir -p ${docbook_outdir}/xml
a6aff075 893doc-xml-validate-docbook: $(xml_sources) $(xml_images)
8a165db0 894 @echo "Generating XML validation log..."
b25e6b79
BK
895 $(XMLLINT) $(XMLLINT_VALID_FLAGS) ${top_srcdir}/doc/xml/spine.xml
896stamp-xml-single-docbook: $(xml_sources) ${docbook_outdir}/xml
8a165db0 897 @echo "Generating XML single..."
b25e6b79
BK
898 $(XMLLINT) $(XMLLINT_FLAGS) \
899 ${top_srcdir}/doc/xml/manual/spine.xml > ${manual_xml};
900 $(XMLLINT) $(XMLLINT_FLAGS) \
901 ${top_srcdir}/doc/xml/spine.xml > ${set_xml};
b25e6b79
BK
902 $(STAMP) stamp-xml-single-docbook
903
904doc-xml-single-docbook: stamp-xml-single-docbook
8a165db0 905
a6aff075
BK
906# HTML support files
907stamp-html-docbook-images: stamp-html-docbook $(xml_images)
908 $(INSTALL_DATA) $(xml_images) ${docbook_outdir}/html/images
909 $(STAMP) stamp-html-docbook-images
910
911stamp-html-docbook-lwg: stamp-html-docbook $(xml_extra)
5e3a0ed1 912 $(INSTALL_DATA) $(xml_extra) ${docbook_outdir}/html/ext
a6aff075
BK
913 $(STAMP) stamp-html-docbook-lwg
914
915stamp-html-docbook-data: stamp-html-docbook-images stamp-html-docbook-lwg
916 $(STAMP) stamp-html-docbook-data
917
8a165db0 918# HTML, index plus chapters
b25e6b79 919stamp-html-docbook: $(xml_sources) ${docbook_outdir}/html
8a165db0 920 @echo "Generating html files..."
ce1140e3 921 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${docbook_outdir}/html/ \
8a165db0 922 $(XSL_HTML_STYLE) ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
923 $(STAMP) stamp-html-docbook
924
a6aff075 925doc-html-docbook: stamp-html-docbook-data
b25e6b79 926stamp-html-single-docbook: $(xml_sources) ${docbook_outdir}/html
8a165db0 927 @echo "Generating html single file..."
ce1140e3 928 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${manual_html} \
8a165db0 929 $(XSL_HTML_SINGLE_STYLE) ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
930 $(STAMP) stamp-html-single-docbook
931
932doc-html-single-docbook: stamp-html-single-docbook
8a165db0
BK
933
934# FO
b25e6b79 935stamp-fo-docbook: $(xml_sources) ${docbook_outdir}/fo
8a165db0 936 @echo "Generating FO files..."
ce1140e3 937 $(XSLTPROC) $(XSLT_FLAGS) -o ${docbook_outdir}/fo/spine.fo \
8a165db0 938 $(XSL_FO_STYLE) ${top_srcdir}/doc/xml/spine.xml
b25e6b79 939 $(STAMP) stamp-fo-docbook
5bca11c4 940
b25e6b79
BK
941doc-fo-docbook: stamp-fo-docbook
942stamp-pdf-docbook: $(xml_sources) ${docbook_outdir}/pdf
40e053e3 943 @echo "Generating pdf dblatex files..."
a6aff075
BK
944 dblatex $(DBLATEX_FLAGS) \
945 -o ${manual_pdf} ${top_srcdir}/doc/xml/spine.xml
b25e6b79
BK
946 $(STAMP) stamp-pdf-docbook
947
948doc-pdf-docbook: stamp-pdf-docbook
949
950stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
547f963b 951 @echo "Generating texinfo files..."
b25e6b79
BK
952 db2x_docbook2texi $(DB2TEXI_FLAGS) ${set_xml}
953 mv libstdc++-manual.texi ${manual_texi}
954 $(STAMP) stamp-texinfo-docbook
955
956stamp-info-docbook: stamp-texinfo-docbook
957 @echo "Generating info files..."
958 $(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
959 $(STAMP) stamp-info-docbook
960
961doc-texinfo-docbook: stamp-texinfo-docbook
962
963doc-info-docbook: stamp-info-docbook
964stamp-epub-docbook: stamp-xml-single-docbook ${docbook_outdir}/epub
965 @echo "Generating epub files..."
696d4bc1
BK
966 if [ ! -d "${docbook_outdir}/images" ]; then \
967 $(LN_S) ${top_srcdir}/doc/xml/images ${docbook_outdir}/; \
968 fi
43fe49ec
BK
969 $(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) \
970 --stringparam base.dir "${docbook_outdir}/epub/OEBPS/" \
971 $(XSL_EPUB_STYLE) ${top_srcdir}/doc/xml/spine.xml
972 $(INSTALL_DATA) $(xml_images) ${docbook_outdir}/epub/OEBPS/images
973 zip -X0 ${manual_epub} ${docbook_outdir}/epub/mimetype
974 zip -r -X9 ${manual_epub} ${docbook_outdir}/epub/META-INF ${docbook_outdir}/epub/OEBPS
b25e6b79
BK
975 $(STAMP) stamp-epub-docbook
976
977doc-epub-docbook: stamp-epub-docbook
154c4a08 978doc-svg-performance: ${docbook_outdir}/xml
03a32789 979 -@(chmod + ${doc_performance_script}; \
154c4a08
BK
980 ${doc_performance_script} \
981 ${top_srcdir}/testsuite/data/make_graph_test_infos.xml \
03a32789 982 ${glibcxx_builddir}/testsuite \
154c4a08 983 ${glibcxx_builddir}/doc/docbook/xml/images)
8a165db0 984
c4e82de9 985.PHONY: doc-doxygen-html doc-doxygen-man doc-performance
4312e020
BK
986
987# To remove directories.
988clean-local:
b25e6b79 989 rm -rf man html pdf fo xml doxygen docbook ./libstdc++-* db2t*
5213506e 990
4312e020
BK
991# Tell versions [3.59,3.63) of GNU make to not export all variables.
992# Otherwise a system limit (for SysV at least) may be exceeded.
993.NOEXPORT: