summaryrefslogtreecommitdiff
path: root/textproc/mkcatalog/pkg-descr
blob: 3308e5cdd133147002162c14ffa97f3d369be24c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
A maintainance utility for sgml catalog files.

mkcatalog maintains sgml "catalog" files.

usage: mkcatalog [-pq] install|deinstall dtd-subdirectory [catalog-filename]
    options:
        -p          preserve old catalog file.
        -q          silent mode

    commands(required):
        install     set DTD configuration to catalog files.
        deinstall   usset DTD configuration from catalog files.

    required arguments:
        dtd-subdirectory  DTD sub-directory.
                          (root sgml direcotry is ${PREFIX}/share/sgml.)

    optional arguments:
        catalog-filename  DTD catalog filename.

    for example:
        # mkcatalog install html/4.0

        This commands do the following actions:
            1. Add `CATALOG "html/catalog"' to ${PREFIX}/share/sgml/catalog.
            2. Add `CATALOG "4.0/catalog"' 
                to ${PREFIX}/share/sgml/html/catalog.


        # mkcatalog install docbook/4.1 docbook41.cat

        This commands do the following actions:
            1. Add `CATALOG "docbook/catalog"' to ${PREFIX}/share/sgml/catalog.
            2. Add `CATALOG "4.1/docbook41.cat"' 
                to ${PREFIX}/share/sgml/docbook/catalog.


        # mkcatalog deinstall docbook/4.1 docbook41.cat

        This commands do the following actions:
            1. Delete `CATALOG "4.1/docbook41.cat"' 
                from ${PREFIX}/share/sgml/docbook/catalog.
            2. Delete `CATALOG "docbook/catalog"'
                from ${PREFIX}/share/sgml/catalog.

---
shige@FreeBSD.org