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