Build the HTML manual; add the HTML & PDF to the distribution; install them.

[?]
Jul 4, 2011, 2:48 PM
6U6KBFYPWI2WJPZFEK6W4RN5JSRKFCBEPMKHDYEPGOROC5EWI2EAC

Dependencies

  • [2] FV2M6MOT hydra: use autoconf/-make
  • [3] 2KJFOYGS hydra: Actually check for Nix in `configure'.
  • [4] PKE6I67S doc: Import the "Creating Projects" chapter by Visser & Dolstra.

Change contents

  • replacement in configure.ac at line 13
    [2.16097][2.16097:16128]()
    AC_PATH_PROG(dblatex, dblatex)
    [2.16097]
    [2.16128]
    dnl Optional dependencies to build the manual, normally not needed
    dnl since the tarball comes with the PDF and HTML manuals.
    AC_PATH_PROG([DBLATEX], [dblatex])
    AC_PATH_PROG([XSLTPROC], [xsltproc])
    AC_ARG_WITH([docbook-xsl],
    [AS_HELP_STRING([--with-docbook-xsl=PATH],
    [path of the DocBook XSL stylesheets])],
    [docbookxsl="$withval"],
    [docbookxsl="/docbook-xsl-missing"])
    AC_SUBST([docbookxsl])
  • edit in doc/manual/Makefile.am at line 10
    [2.17129]
    [2.17129]
    # Include the manual in the tarball.
    dist_html_DATA = manual.html
    dist_pdf_DATA = manual.pdf
    manual.html: $(DOCBOOK_FILES)
    if test "$(XSLTPROC)" != ""; then \
    $(XSLTPROC) --nonet --xinclude --output manual.html \
    $(docbookxsl)/html/docbook.xsl manual.xml; \
    else \
    @echo "Please install xsltproc and rerun configure."; \
    exit 1; \
    fi
  • replacement in doc/manual/Makefile.am at line 24
    [2.17159][2.17159:17245]()
    if test "$(dblatex)" != ""; then \
    $(dblatex) $(dblatex_opts) manual.xml; \
    [2.17159]
    [2.17245]
    if test "$(DBLATEX)" != ""; then \
    $(DBLATEX) $(dblatex_opts) manual.xml; \