doc: Use a CSS and callout images for the HTML output.

[?]
Oct 12, 2011, 2:20 PM
PD4VHG3KAUMXTQPTKJGQECNKWR4EGWG4XXK7JDKE5DU2EJEHS6JQC

Dependencies

  • [2] 6U6KBFYP Build the HTML manual; add the HTML & PDF to the distribution; install them.
  • [3] FV2M6MOT hydra: use autoconf/-make
  • [4] WKBYU46G Fix typo in makefile.
  • [5] PKE6I67S doc: Import the "Creating Projects" chapter by Visser & Dolstra.

Change contents

  • edit in doc/manual/Makefile.am at line 4
    [3.17050]
    [3.17050]
    xsltproc_opts = \
    --param html.stylesheet \'style.css\' \
    --param callout.graphics.extension \'.gif\'
  • replacement in doc/manual/Makefile.am at line 15
    [2.443][2.443:472]()
    dist_html_DATA = manual.html
    [2.443]
    [2.472]
    dist_html_DATA = manual.html style.css
  • replacement in doc/manual/Makefile.am at line 20
    [2.570][2.570:626]()
    $(XSLTPROC) --nonet --xinclude --output manual.html \
    [2.570]
    [2.626]
    $(XSLTPROC) $(xsltproc_opts) --nonet --xinclude \
    --output manual.html \
  • replacement in doc/manual/Makefile.am at line 36
    [3.17340][3.17340:17479]()
    install-data-local:
    $(INSTALL) -d $(DESTDIR)$(datadir)/doc/hydra/manual
    $(INSTALL_DATA) manual.pdf $(DESTDIR)$(datadir)/doc/hydra/manual
    [3.17340]
    images:
    $(MKDIR_P) images/callouts
    if cp $(docbookxsl)/images/callouts/*.gif images/callouts; then \
    chmod +wx images images/callouts; \
    else \
    echo "Please install Docbook XSL and try again."; \
    exit 1; \
    fi
    install-data-hook: images
    $(INSTALL) -d $(DESTDIR)$(htmldir)/images/callouts
    $(INSTALL_DATA) images/callouts/* $(DESTDIR)$(htmldir)/images/callouts
    distclean-hook:
    -rm -rf images