docbook.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- docbook.cygclass

- CATEGORY (docbook)
- SUMMARY (docbook)
- DESCRIPTION (docbook)
- HOMEPAGE (docbook)
- SRC_URI (docbook)
- docbook_install
- docbook_dsssl_postinst
- docbook_sgml_postinst
- docbook_xml_postinst
- src_compile (docbook)
- src_install (docbook)

## docbook.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      inherit docbook

DESCRIPTION

DocBook is a schema for SGML and XML documents meant for formatting documents and books, and is sometimes used for software documentation. It is generally processed through the (Open)Jade parser, either directly or through the jw/docbook2* wrappers.

This cygclass handles downloading, installation and registration of DocBook SGML, XML, and Simplified XML DTDs, as well as the DSSSL and XSL stylesheets.

## CATEGORY (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DEFINITION

    CATEGORY="Text"

## SUMMARY (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="DocBook ${dtd_type} DTD, version ${PV}"

## DESCRIPTION (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DEFINITION

    DESCRIPTION="DocBook is a schema maintained by the DocBook Technical Committee
    of OASIS. It is particularly well suited to books and papers about computer
    hardware and software (though it is by no means limited to these applications).
    This package provides version ${PV} of the DocBook DTDs for ${dtd_type}."

## HOMEPAGE (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DEFINITION

    HOMEPAGE="http://www.oasis-open.org/docbook/"

## SRC_URI (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DESCRIPTION

Download location for the DocBook package.

## docbook_install

[ Top ] [ docbook.cygclass ] [ Install Functions ]

SYNOPSIS

      cd $S
      docbook_install

DESCRIPTION

Installs the DocBook package into $D.

## docbook_dsssl_postinst

[ Top ] [ docbook.cygclass ] [ Install Functions ]

DESCRIPTION

Creates postinstall/preremove scripts to de/register the DSSSL stylesheets with the system SGML catalog.

## docbook_sgml_postinst

[ Top ] [ docbook.cygclass ] [ Install Functions ]

DESCRIPTION

Creates postinstall/preremove scripts to de/register the SGML/XML DTDs with the system SGML catalog.

NOTE

XML DTDs must also be registered in the SGML catalog.

## docbook_xml_postinst

[ Top ] [ docbook.cygclass ] [ Install Functions ]

DESCRIPTION

Creates postinstall/preremove scripts to de/register the XML DTDs or XSL stylesheets with the system XML catalog.

## src_compile (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DEFINITION

    src_compile() { :; }

## src_install (docbook)

[ Top ] [ docbook.cygclass ] [ Overloads ]

DESCRIPTION

Runs docbook_install followed by the appropriate combination of docbook_dsssl_postinst, docbook_sgml_postinst, and/or docbook_xml_postinst.