Home | History | Annotate | Download | only in docs
      1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
      2 # @configure_input@
      3 
      4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
      5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
      6 # Inc.
      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@
     17 VPATH = @srcdir@
     18 pkgdatadir = $(datadir)/@PACKAGE@
     19 pkgincludedir = $(includedir)/@PACKAGE@
     20 pkglibdir = $(libdir)/@PACKAGE@
     21 pkglibexecdir = $(libexecdir)/@PACKAGE@
     22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     23 install_sh_DATA = $(install_sh) -c -m 644
     24 install_sh_PROGRAM = $(install_sh) -c
     25 install_sh_SCRIPT = $(install_sh) -c
     26 INSTALL_HEADER = $(INSTALL_DATA)
     27 transform = $(program_transform_name)
     28 NORMAL_INSTALL = :
     29 PRE_INSTALL = :
     30 POST_INSTALL = :
     31 NORMAL_UNINSTALL = :
     32 PRE_UNINSTALL = :
     33 POST_UNINSTALL = :
     34 build_triplet = @build@
     35 host_triplet = @host@
     36 subdir = docs
     37 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     39 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     41 	$(ACLOCAL_M4)
     42 mkinstalldirs = $(install_sh) -d
     43 CONFIG_HEADER = $(top_builddir)/config.h
     44 CONFIG_CLEAN_FILES =
     45 CONFIG_CLEAN_VPATH_FILES =
     46 SOURCES =
     47 DIST_SOURCES =
     48 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     49 ACLOCAL = @ACLOCAL@
     50 AMTAR = @AMTAR@
     51 AR = @AR@
     52 AUTOCONF = @AUTOCONF@
     53 AUTOHEADER = @AUTOHEADER@
     54 AUTOMAKE = @AUTOMAKE@
     55 AWK = @AWK@
     56 BOOST_CFLAGS = @BOOST_CFLAGS@
     57 BOOST_LIBS = @BOOST_LIBS@
     58 CC = @CC@
     59 CCAS = @CCAS@
     60 CCASDEPMODE = @CCASDEPMODE@
     61 CCASFLAGS = @CCASFLAGS@
     62 CCDEPMODE = @CCDEPMODE@
     63 CFLAGS = @CFLAGS@
     64 CPP = @CPP@
     65 CPPFLAGS = @CPPFLAGS@
     66 CXX = @CXX@
     67 CXXDEPMODE = @CXXDEPMODE@
     68 CXXFLAGS = @CXXFLAGS@
     69 CYGPATH_W = @CYGPATH_W@
     70 DEFAULT_SUPP = @DEFAULT_SUPP@
     71 DEFS = @DEFS@
     72 DEPDIR = @DEPDIR@
     73 DIFF = @DIFF@
     74 ECHO_C = @ECHO_C@
     75 ECHO_N = @ECHO_N@
     76 ECHO_T = @ECHO_T@
     77 EGREP = @EGREP@
     78 EXEEXT = @EXEEXT@
     79 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
     80 FLAG_M32 = @FLAG_M32@
     81 FLAG_M64 = @FLAG_M64@
     82 FLAG_MAIX32 = @FLAG_MAIX32@
     83 FLAG_MAIX64 = @FLAG_MAIX64@
     84 FLAG_MMMX = @FLAG_MMMX@
     85 FLAG_MSSE = @FLAG_MSSE@
     86 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
     87 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
     88 FLAG_W_EXTRA = @FLAG_W_EXTRA@
     89 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
     90 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
     91 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
     92 GDB = @GDB@
     93 GLIBC_VERSION = @GLIBC_VERSION@
     94 GREP = @GREP@
     95 INSTALL = @INSTALL@
     96 INSTALL_DATA = @INSTALL_DATA@
     97 INSTALL_PROGRAM = @INSTALL_PROGRAM@
     98 INSTALL_SCRIPT = @INSTALL_SCRIPT@
     99 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    100 LDFLAGS = @LDFLAGS@
    101 LIBOBJS = @LIBOBJS@
    102 LIBS = @LIBS@
    103 LN_S = @LN_S@
    104 LTLIBOBJS = @LTLIBOBJS@
    105 MAINT = @MAINT@
    106 MAKEINFO = @MAKEINFO@
    107 MKDIR_P = @MKDIR_P@
    108 MPI_CC = @MPI_CC@
    109 OBJEXT = @OBJEXT@
    110 PACKAGE = @PACKAGE@
    111 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    112 PACKAGE_NAME = @PACKAGE_NAME@
    113 PACKAGE_STRING = @PACKAGE_STRING@
    114 PACKAGE_TARNAME = @PACKAGE_TARNAME@
    115 PACKAGE_URL = @PACKAGE_URL@
    116 PACKAGE_VERSION = @PACKAGE_VERSION@
    117 PATH_SEPARATOR = @PATH_SEPARATOR@
    118 PERL = @PERL@
    119 PKG_CONFIG = @PKG_CONFIG@
    120 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
    121 QTCORE_CFLAGS = @QTCORE_CFLAGS@
    122 QTCORE_LIBS = @QTCORE_LIBS@
    123 RANLIB = @RANLIB@
    124 SED = @SED@
    125 SET_MAKE = @SET_MAKE@
    126 SHELL = @SHELL@
    127 STRIP = @STRIP@
    128 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
    129 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
    130 VERSION = @VERSION@
    131 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
    132 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
    133 VGCONF_OS = @VGCONF_OS@
    134 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
    135 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
    136 abs_builddir = @abs_builddir@
    137 abs_srcdir = @abs_srcdir@
    138 abs_top_builddir = @abs_top_builddir@
    139 abs_top_srcdir = @abs_top_srcdir@
    140 ac_ct_CC = @ac_ct_CC@
    141 ac_ct_CXX = @ac_ct_CXX@
    142 am__include = @am__include@
    143 am__leading_dot = @am__leading_dot@
    144 am__quote = @am__quote@
    145 am__tar = @am__tar@
    146 am__untar = @am__untar@
    147 bindir = @bindir@
    148 build = @build@
    149 build_alias = @build_alias@
    150 build_cpu = @build_cpu@
    151 build_os = @build_os@
    152 build_vendor = @build_vendor@
    153 builddir = @builddir@
    154 datadir = @datadir@
    155 datarootdir = @datarootdir@
    156 docdir = @docdir@
    157 dvidir = @dvidir@
    158 exec_prefix = @exec_prefix@
    159 host = @host@
    160 host_alias = @host_alias@
    161 host_cpu = @host_cpu@
    162 host_os = @host_os@
    163 host_vendor = @host_vendor@
    164 htmldir = @htmldir@
    165 includedir = @includedir@
    166 infodir = @infodir@
    167 install_sh = @install_sh@
    168 libdir = @libdir@
    169 libexecdir = @libexecdir@
    170 localedir = @localedir@
    171 localstatedir = @localstatedir@
    172 mandir = @mandir@
    173 mkdir_p = @mkdir_p@
    174 oldincludedir = @oldincludedir@
    175 pdfdir = @pdfdir@
    176 prefix = @prefix@
    177 program_transform_name = @program_transform_name@
    178 psdir = @psdir@
    179 sbindir = @sbindir@
    180 sharedstatedir = @sharedstatedir@
    181 srcdir = @srcdir@
    182 sysconfdir = @sysconfdir@
    183 target_alias = @target_alias@
    184 top_build_prefix = @top_build_prefix@
    185 top_builddir = @top_builddir@
    186 top_srcdir = @top_srcdir@
    187 
    188 # Comment out the next line to skip building print docs.  The default
    189 # is not to skip building print docs.  Note, after changing it
    190 # you of course need to re-run configure to make it take effect.
    191 BUILD_ALL_DOCS = yes
    192 EXTRA_DIST = \
    193 	README \
    194 	images/home.png \
    195 	images/next.png \
    196 	images/prev.png \
    197 	images/up.png \
    198 	internals/3_0_BUGSTATUS.txt \
    199 	internals/3_1_BUGSTATUS.txt \
    200 	internals/3_2_BUGSTATUS.txt \
    201 	internals/3_3_BUGSTATUS.txt \
    202 	internals/3_4_BUGSTATUS.txt \
    203 	internals/3_5_BUGSTATUS.txt \
    204 	internals/BIG_APP_NOTES.txt \
    205 	internals/Darwin-notes.txt \
    206 	internals/directory-structure.txt \
    207 	internals/howto_BUILD_KDE42.txt \
    208 	internals/howto_oprofile.txt \
    209 	internals/m_replacemalloc.txt \
    210 	internals/m_syswrap.txt \
    211 	internals/module-structure.txt \
    212 	internals/notes.txt \
    213 	internals/porting-HOWTO.txt \
    214 	internals/mpi2entries.txt \
    215 	internals/porting-to-ARM.txt \
    216 	internals/register-uses.txt \
    217 	internals/release-HOWTO.txt \
    218 	internals/segments-seginfos.txt \
    219 	internals/threads-syscalls-signals.txt \
    220 	internals/tm-mutexstates.dot \
    221 	internals/tm-threadstates.dot \
    222 	internals/tracking-fn-entry-exit.txt \
    223 	internals/why-no-libc.txt \
    224 	internals/xml-output.txt \
    225 	internals/xml-output-protocol4.txt \
    226 	lib/line-wrap.xsl \
    227 	lib/vg_basic.css \
    228 	lib/vg-fo.xsl \
    229 	lib/vg-faq2txt.xsl \
    230 	lib/vg-html-chunk.xsl \
    231 	lib/vg-html-website.xsl \
    232 	lib/vg-html-common.xsl \
    233 	xml/FAQ.xml \
    234 	xml/dist-docs.xml \
    235 	xml/index.xml \
    236 	xml/licenses.xml \
    237 	xml/manpages-index.xml \
    238 	xml/manual.xml \
    239 	xml/manual-intro.xml \
    240 	xml/manual-core.xml \
    241 	xml/manual-core-adv.xml \
    242 	xml/manual-writing-tools.xml \
    243 	xml/design-impl.xml \
    244 	xml/quick-start-guide.xml \
    245 	xml/tech-docs.xml \
    246 	xml/valgrind-manpage.xml \
    247 	xml/vg-entities.xml \
    248 	xml/xml_help.txt
    249 
    250 myxmldir = $(top_srcdir)/docs/xml
    251 myimgdir = $(top_srcdir)/docs/images
    252 mylibdir = $(top_srcdir)/docs/lib
    253 myhtmldir = $(top_builddir)/docs/html
    254 myprintdir = $(top_builddir)/docs/print
    255 websitedir = $(top_builddir)/docs/website
    256 valkyriedir = $(top_builddir)/docs/vg-html
    257 downloadsdir = $(top_builddir)/docs/downloads
    258 vgdir = $(top_builddir)/docs/valgrind
    259 XML_CATALOG_FILES = /etc/xml/catalog
    260 
    261 # file to log print output to
    262 LOGFILE = print.log
    263 
    264 # validation stuff
    265 XMLLINT = xmllint
    266 LINT_FLAGS = --noblanks --noout --xinclude --postvalid --noent
    267 # validate with docbook 4.3 'cos it supports xml:base natively
    268 VALID_FLAGS = --dtdvalid http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd 
    269 XMLLINT_FLAGS = $(LINT_FLAGS) $(VALID_FLAGS)
    270 
    271 # stylesheet processor
    272 XSLTPROC = xsltproc
    273 XSLTPROC_FLAGS = --nonet --xinclude
    274 
    275 # stylesheets
    276 XSL_HTML_CHUNK_STYLE = $(mylibdir)/vg-html-chunk.xsl
    277 XSL_FO_STYLE = $(mylibdir)/vg-fo.xsl
    278 XSL_TEXT_STYLE = $(mylibdir)/vg-faq2txt.xsl
    279 XSL_WEBSITE_STYLE = $(mylibdir)/vg-html-website.xsl
    280 XSL_MAN_STYLES = \
    281     /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl \
    282     /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
    283 
    284 all: all-am
    285 
    286 .SUFFIXES:
    287 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
    288 	@for dep in $?; do \
    289 	  case '$(am__configure_deps)' in \
    290 	    *$$dep*) \
    291 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
    292 	        && { if test -f $@; then exit 0; else break; fi; }; \
    293 	      exit 1;; \
    294 	  esac; \
    295 	done; \
    296 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
    297 	$(am__cd) $(top_srcdir) && \
    298 	  $(AUTOMAKE) --foreign docs/Makefile
    299 .PRECIOUS: Makefile
    300 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    301 	@case '$?' in \
    302 	  *config.status*) \
    303 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    304 	  *) \
    305 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    306 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    307 	esac;
    308 
    309 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    310 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    311 
    312 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    313 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    314 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    315 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    316 $(am__aclocal_m4_deps):
    317 tags: TAGS
    318 TAGS:
    319 
    320 ctags: CTAGS
    321 CTAGS:
    322 
    323 
    324 distdir: $(DISTFILES)
    325 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    326 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    327 	list='$(DISTFILES)'; \
    328 	  dist_files=`for file in $$list; do echo $$file; done | \
    329 	  sed -e "s|^$$srcdirstrip/||;t" \
    330 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
    331 	case $$dist_files in \
    332 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
    333 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
    334 			   sort -u` ;; \
    335 	esac; \
    336 	for file in $$dist_files; do \
    337 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    338 	  if test -d $$d/$$file; then \
    339 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
    340 	    if test -d "$(distdir)/$$file"; then \
    341 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    342 	    fi; \
    343 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    344 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
    345 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    346 	    fi; \
    347 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
    348 	  else \
    349 	    test -f "$(distdir)/$$file" \
    350 	    || cp -p $$d/$$file "$(distdir)/$$file" \
    351 	    || exit 1; \
    352 	  fi; \
    353 	done
    354 	$(MAKE) $(AM_MAKEFLAGS) \
    355 	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
    356 	  dist-hook
    357 check-am: all-am
    358 check: check-am
    359 all-am: Makefile
    360 installdirs:
    361 install: install-am
    362 install-exec: install-exec-am
    363 install-data: install-data-am
    364 uninstall: uninstall-am
    365 
    366 install-am: all-am
    367 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    368 
    369 installcheck: installcheck-am
    370 install-strip:
    371 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    372 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    373 	  `test -z '$(STRIP)' || \
    374 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
    375 mostlyclean-generic:
    376 
    377 clean-generic:
    378 
    379 distclean-generic:
    380 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    381 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    382 
    383 maintainer-clean-generic:
    384 	@echo "This command is intended for maintainers to use"
    385 	@echo "it deletes files that may require special tools to rebuild."
    386 clean: clean-am
    387 
    388 clean-am: clean-generic mostlyclean-am
    389 
    390 distclean: distclean-am
    391 	-rm -f Makefile
    392 distclean-am: clean-am distclean-generic distclean-local
    393 
    394 dvi: dvi-am
    395 
    396 dvi-am:
    397 
    398 html: html-am
    399 
    400 html-am:
    401 
    402 info: info-am
    403 
    404 info-am:
    405 
    406 install-data-am:
    407 	@$(NORMAL_INSTALL)
    408 	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
    409 install-dvi: install-dvi-am
    410 
    411 install-dvi-am:
    412 
    413 install-exec-am:
    414 
    415 install-html: install-html-am
    416 
    417 install-html-am:
    418 
    419 install-info: install-info-am
    420 
    421 install-info-am:
    422 
    423 install-man:
    424 
    425 install-pdf: install-pdf-am
    426 
    427 install-pdf-am:
    428 
    429 install-ps: install-ps-am
    430 
    431 install-ps-am:
    432 
    433 installcheck-am:
    434 
    435 maintainer-clean: maintainer-clean-am
    436 	-rm -f Makefile
    437 maintainer-clean-am: distclean-am maintainer-clean-generic
    438 
    439 mostlyclean: mostlyclean-am
    440 
    441 mostlyclean-am: mostlyclean-generic
    442 
    443 pdf: pdf-am
    444 
    445 pdf-am:
    446 
    447 ps: ps-am
    448 
    449 ps-am:
    450 
    451 uninstall-am:
    452 
    453 .MAKE: install-am install-data-am install-strip
    454 
    455 .PHONY: all all-am check check-am clean clean-generic dist-hook \
    456 	distclean distclean-generic distclean-local distdir dvi dvi-am \
    457 	html html-am info info-am install install-am install-data \
    458 	install-data-am install-data-hook install-dvi install-dvi-am \
    459 	install-exec install-exec-am install-html install-html-am \
    460 	install-info install-info-am install-man install-pdf \
    461 	install-pdf-am install-ps install-ps-am install-strip \
    462 	installcheck installcheck-am installdirs maintainer-clean \
    463 	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
    464 	pdf-am ps ps-am uninstall uninstall-am
    465 
    466 
    467 all-docs: FAQ.txt man-pages html-docs print-docs
    468 
    469 valid:
    470 	$(XMLLINT) $(XMLLINT_FLAGS) $(myxmldir)/index.xml
    471 
    472 # The text version of the FAQ.
    473 FAQ.txt:
    474 	@echo "Generating the text version of the FAQ ..."
    475 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
    476 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o ./FAQ.txt $(XSL_TEXT_STYLE) $(myxmldir)/FAQ.xml
    477 
    478 # the valgrind manpages
    479 man-pages:
    480 	for x in $(XSL_MAN_STYLES) ; do \
    481 	    if test -f $$x; then \
    482 		echo "Using manpage stylesheet: $$x"; \
    483 		export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
    484 		$(XSLTPROC) $(XSLTPROC_FLAGS) -o ./ $$x $(myxmldir)/manpages-index.xml; \
    485 		exit 0; \
    486 	    fi; \
    487 	done; \
    488 	echo ""; \
    489 	echo "Error: I can't find the XSL_MAN_STYLE file";     \
    490 	echo "Please check where it lives on your system, and"      \
    491 	     "amend the line 'XSL_MAN_STYLES = ' in this Makefile."; \
    492 	exit 1;
    493 
    494 # chunked html, on a chapter-by-chapter basis
    495 html-docs:
    496 	@echo "Generating html files..."
    497 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
    498 	mkdir -p $(myhtmldir) && \
    499 	/bin/rm -fr $(myhtmldir)/ && \
    500 	mkdir -p $(myhtmldir)/ && \
    501 	mkdir -p $(myhtmldir)/images && \
    502 	cp $(mylibdir)/vg_basic.css $(myhtmldir)/ && \
    503 	cp $(myimgdir)/*.png $(myhtmldir)/images && \
    504 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(myhtmldir)/ $(XSL_HTML_CHUNK_STYLE) $(myxmldir)/index.xml
    505 
    506 # pdf and postscript
    507 print-docs:
    508 	@echo "Generating PDF file: $(myprintdir)/index.pdf (please be patient)...";
    509 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
    510 	mkdir -p $(myprintdir) && \
    511 	mkdir -p $(myprintdir)/images && \
    512 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(myprintdir)/index.fo $(XSL_FO_STYLE) $(myxmldir)/index.xml && \
    513 	(cd $(myprintdir) && \
    514          ( pdfxmltex index.fo && \
    515 	   pdfxmltex index.fo && \
    516 	   pdfxmltex index.fo ) &> $(LOGFILE) < /dev/null && \
    517 	 echo "Generating PS file: $(myprintdir)/index.ps ..." && \
    518 	 pdftops index.pdf && \
    519 	 rm -f *.log *.aux *.fo *.out)
    520 
    521 # If the docs have been built, install them.  But don't worry if they have 
    522 # not -- developers do 'make install' not from a 'make dist'-ified distro all
    523 # the time.
    524 #
    525 # Note: this is done at 'make install' time.
    526 # Note 2: the ifeq/else/endif have to be indented one space 
    527 # because otherwise it seems that automake thinks it should
    528 # be the one to handle the else/endif parts, not GNU make
    529 # as we intend.
    530 install-data-hook:
    531 	if test -r html ; then \
    532 		mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \
    533 		cp -r html $(DESTDIR)$(datadir)/doc/valgrind; \
    534 	fi
    535 	for f in *.1 ; do \
    536 		if test -r $$f ; then \
    537 			mkdir -p $(DESTDIR)$(mandir)/man1; \
    538 			cp $$f $(DESTDIR)$(mandir)/man1; \
    539 		fi \
    540 	done
    541  ifeq ($(BUILD_ALL_DOCS),yes)
    542 	if test -r index.pdf ; then \
    543 		mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \
    544 		cp index.pdf $(DESTDIR)$(datadir)/doc/valgrind/valgrind_manual.pdf; \
    545 	fi
    546 	if test -r index.ps ; then \
    547 		mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \
    548 		cp index.ps $(DESTDIR)$(datadir)/doc/valgrind/valgrind_manual.ps; \
    549 	fi
    550  endif
    551 
    552 # This is done at 'make dist' time.  It builds the html docs, print
    553 # docs and man pages and copies them into the docs/ directory in the
    554 # tarball.
    555  ifeq ($(BUILD_ALL_DOCS),yes)
    556 dist-hook: FAQ.txt html-docs man-pages print-docs
    557 	cp -r html $(distdir)
    558 	cp FAQ.txt $(distdir)/..
    559 	cp *.1 $(distdir)
    560 	cp print/index.pdf $(distdir)
    561 	cp print/index.ps $(distdir)
    562  else
    563 dist-hook: FAQ.txt html-docs man-pages
    564 	cp -r html $(distdir)
    565 	cp FAQ.txt $(distdir)/..
    566 	cp *.1 $(distdir)
    567  endif
    568 
    569 distclean-local:
    570 	rm -rf html print
    571 	rm -f $(top_builddir)/FAQ.txt $(top_builddir)/docs/*.1
    572 
    573 # -----------------------------------------------------------------------
    574 # Note: the rest of this file is nothing to do with the normal build
    575 # tree.  The stuff below contains special targets for web-site
    576 # artefacts.
    577 
    578 # chunked html with no html/body tags, css, or top nav, to fit into the website
    579 website-docs:
    580 	@echo "Generating website html files ..."
    581 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES)
    582 	/bin/rm -fr $(websitedir)
    583 	mkdir -p $(websitedir)
    584 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(websitedir)/ $(XSL_WEBSITE_STYLE) $(myxmldir)/index.xml
    585 
    586 # valkyrie carries around her own copy of the valgrind manual
    587 valkyrie-docs:
    588 	@echo "Generating a set of valgrind docs for valkyrie..."
    589 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES)
    590 	/bin/rm -fr $(valkyriedir)
    591 	mkdir -p $(valkyriedir)
    592 	mkdir -p $(valkyriedir)/images
    593 	cp $(mylibdir)/vg_basic.css $(valkyriedir)/
    594 	cp $(myimgdir)/*.png $(valkyriedir)/images/
    595 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(valkyriedir)/ $(XSL_HTML_CHUNK_STYLE) $(myxmldir)/index.xml
    596 
    597 # html.tar.bz2, .pdf, .ps.bz2 files for downloading from the website
    598 download-docs:
    599 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES)
    600 	/bin/rm -fr $(downloadsdir)
    601 	mkdir -p $(downloadsdir)
    602 	@echo ""
    603 	@echo "Generating valgrind_manual.html.tar.bz2 ..."
    604 	export XML_CATALOG_FILES=$(XML_CATALOG_FILES)
    605 	/bin/rm -fr $(vgdir)
    606 	mkdir -p $(vgdir)
    607 	mkdir -p $(vgdir)/html
    608 	mkdir -p $(vgdir)/html/images
    609 	cp $(mylibdir)/vg_basic.css $(vgdir)/html/
    610 	cp $(myimgdir)/*.png $(vgdir)/html/images/
    611 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(vgdir)/html/ $(XSL_HTML_CHUNK_STYLE) $(myxmldir)/index.xml
    612 	(cd $(top_builddir)/docs/ && \
    613 		(tar cfj $(downloadsdir)/valgrind_manual.html.tar.bz2 ./valgrind/html/ ) )
    614 	/bin/rm -fr $(vgdir)/html/
    615 	@echo ""
    616 	@echo "Generating valgrind_manual.pdf ..."
    617 	mkdir -p $(vgdir)/print
    618 	mkdir -p $(vgdir)/print/images
    619 	$(XSLTPROC) $(XSLTPROC_FLAGS) -o $(vgdir)/print/manual.fo $(XSL_FO_STYLE) $(myxmldir)/index.xml
    620 	(cd $(vgdir)/print/ && \
    621 		( pdfxmltex manual.fo && \
    622 		  pdfxmltex manual.fo && \
    623 		  pdfxmltex manual.fo ) &> $(LOGFILE) < /dev/null )
    624 	@echo ""
    625 	@echo "Generating valgrind_manual.ps.bz2 ..."
    626 	(cd $(vgdir)/print/ && \
    627 		( pdftops manual.pdf ) )
    628 	mv $(vgdir)/print/manual.pdf $(downloadsdir)/valgrind_manual.pdf
    629 	mv $(vgdir)/print/manual.ps $(downloadsdir)/valgrind_manual.ps
    630 	bzip2 $(downloadsdir)/valgrind_manual.ps
    631 	/bin/rm -fr $(vgdir)
    632 
    633 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    634 # Otherwise a system limit (for SysV at least) may be exceeded.
    635 .NOEXPORT:
    636