git: Bring in OpenBSD's mandoc(1) tool for formatting manual pages.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Oct 27 01:55:40 PDT 2009


commit 589e7c1db2b008d569817318dd8d8a990d926686
Author: Sascha Wildner <saw at online.de>
Date:   Tue Oct 27 09:42:29 2009 +0100

    Bring in OpenBSD's mandoc(1) tool for formatting manual pages.
    
    It's not (yet) used by anything but it is quite useful for
    error checking.
    
    Thanks to Kristaps Dzonsons and OpenBSD!

Summary of changes:
 usr.bin/Makefile               |    1 +
 usr.bin/mandoc/Makefile        |   17 +
 usr.bin/mandoc/arch.c          |   32 +
 usr.bin/mandoc/arch.in         |   52 +
 usr.bin/mandoc/att.c           |   32 +
 usr.bin/mandoc/att.in          |   37 +
 usr.bin/mandoc/chars.c         |  204 ++++
 usr.bin/mandoc/chars.h         |   34 +
 usr.bin/mandoc/chars.in        |  418 ++++++++
 usr.bin/mandoc/html.c          |  648 ++++++++++++
 usr.bin/mandoc/html.h          |  133 +++
 usr.bin/mandoc/lib.c           |   32 +
 usr.bin/mandoc/lib.in          |   57 +
 usr.bin/mandoc/libman.h        |  116 +++
 usr.bin/mandoc/libmandoc.h     |   26 +
 usr.bin/mandoc/libmdoc.h       |  188 ++++
 usr.bin/mandoc/main.c          |  662 ++++++++++++
 usr.bin/mandoc/main.h          |   47 +
 usr.bin/mandoc/man.3           |  283 +++++
 usr.bin/mandoc/man.7           |  589 +++++++++++
 usr.bin/mandoc/man.c           |  628 ++++++++++++
 usr.bin/mandoc/man.h           |  116 +++
 usr.bin/mandoc/man_action.c    |  219 ++++
 usr.bin/mandoc/man_argv.c      |   98 ++
 usr.bin/mandoc/man_hash.c      |   77 ++
 usr.bin/mandoc/man_html.c      |  696 +++++++++++++
 usr.bin/mandoc/man_macro.c     |  374 +++++++
 usr.bin/mandoc/man_term.c      |  986 ++++++++++++++++++
 usr.bin/mandoc/man_validate.c  |  280 +++++
 usr.bin/mandoc/mandoc.1        |  416 ++++++++
 usr.bin/mandoc/mandoc.c        |  104 ++
 usr.bin/mandoc/mandoc_char.7   |  616 +++++++++++
 usr.bin/mandoc/manuals.7       |  236 +++++
 usr.bin/mandoc/mdoc.3          |  336 ++++++
 usr.bin/mandoc/mdoc.7          | 1775 ++++++++++++++++++++++++++++++++
 usr.bin/mandoc/mdoc.c          |  749 ++++++++++++++
 usr.bin/mandoc/mdoc.h          |  304 ++++++
 usr.bin/mandoc/mdoc_action.c   |  980 ++++++++++++++++++
 usr.bin/mandoc/mdoc_argv.c     |  771 ++++++++++++++
 usr.bin/mandoc/mdoc_hash.c     |   88 ++
 usr.bin/mandoc/mdoc_html.c     | 2217 ++++++++++++++++++++++++++++++++++++++++
 usr.bin/mandoc/mdoc_macro.c    | 1350 ++++++++++++++++++++++++
 usr.bin/mandoc/mdoc_strings.c  |  237 +++++
 usr.bin/mandoc/mdoc_term.c     | 2067 +++++++++++++++++++++++++++++++++++++
 usr.bin/mandoc/mdoc_validate.c | 1307 +++++++++++++++++++++++
 usr.bin/mandoc/msec.c          |   32 +
 usr.bin/mandoc/msec.in         |   40 +
 usr.bin/mandoc/out.c           |  119 +++
 usr.bin/mandoc/out.h           |   58 ++
 usr.bin/mandoc/st.c            |   32 +
 usr.bin/mandoc/st.in           |   68 ++
 usr.bin/mandoc/term.c          |  633 ++++++++++++
 usr.bin/mandoc/term.h          |   61 ++
 usr.bin/mandoc/tree.c          |  208 ++++
 usr.bin/mandoc/vol.c           |   32 +
 usr.bin/mandoc/vol.in          |   35 +
 56 files changed, 21953 insertions(+), 0 deletions(-)
 create mode 100644 usr.bin/mandoc/Makefile
 create mode 100644 usr.bin/mandoc/arch.c
 create mode 100644 usr.bin/mandoc/arch.in
 create mode 100644 usr.bin/mandoc/att.c
 create mode 100644 usr.bin/mandoc/att.in
 create mode 100644 usr.bin/mandoc/chars.c
 create mode 100644 usr.bin/mandoc/chars.h
 create mode 100644 usr.bin/mandoc/chars.in
 create mode 100644 usr.bin/mandoc/html.c
 create mode 100644 usr.bin/mandoc/html.h
 create mode 100644 usr.bin/mandoc/lib.c
 create mode 100644 usr.bin/mandoc/lib.in
 create mode 100644 usr.bin/mandoc/libman.h
 create mode 100644 usr.bin/mandoc/libmandoc.h
 create mode 100644 usr.bin/mandoc/libmdoc.h
 create mode 100644 usr.bin/mandoc/main.c
 create mode 100644 usr.bin/mandoc/main.h
 create mode 100644 usr.bin/mandoc/man.3
 create mode 100644 usr.bin/mandoc/man.7
 create mode 100644 usr.bin/mandoc/man.c
 create mode 100644 usr.bin/mandoc/man.h
 create mode 100644 usr.bin/mandoc/man_action.c
 create mode 100644 usr.bin/mandoc/man_argv.c
 create mode 100644 usr.bin/mandoc/man_hash.c
 create mode 100644 usr.bin/mandoc/man_html.c
 create mode 100644 usr.bin/mandoc/man_macro.c
 create mode 100644 usr.bin/mandoc/man_term.c
 create mode 100644 usr.bin/mandoc/man_validate.c
 create mode 100644 usr.bin/mandoc/mandoc.1
 create mode 100644 usr.bin/mandoc/mandoc.c
 create mode 100644 usr.bin/mandoc/mandoc_char.7
 create mode 100644 usr.bin/mandoc/manuals.7
 create mode 100644 usr.bin/mandoc/mdoc.3
 create mode 100644 usr.bin/mandoc/mdoc.7
 create mode 100644 usr.bin/mandoc/mdoc.c
 create mode 100644 usr.bin/mandoc/mdoc.h
 create mode 100644 usr.bin/mandoc/mdoc_action.c
 create mode 100644 usr.bin/mandoc/mdoc_argv.c
 create mode 100644 usr.bin/mandoc/mdoc_hash.c
 create mode 100644 usr.bin/mandoc/mdoc_html.c
 create mode 100644 usr.bin/mandoc/mdoc_macro.c
 create mode 100644 usr.bin/mandoc/mdoc_strings.c
 create mode 100644 usr.bin/mandoc/mdoc_term.c
 create mode 100644 usr.bin/mandoc/mdoc_validate.c
 create mode 100644 usr.bin/mandoc/msec.c
 create mode 100644 usr.bin/mandoc/msec.in
 create mode 100644 usr.bin/mandoc/out.c
 create mode 100644 usr.bin/mandoc/out.h
 create mode 100644 usr.bin/mandoc/st.c
 create mode 100644 usr.bin/mandoc/st.in
 create mode 100644 usr.bin/mandoc/term.c
 create mode 100644 usr.bin/mandoc/term.h
 create mode 100644 usr.bin/mandoc/tree.c
 create mode 100644 usr.bin/mandoc/vol.c
 create mode 100644 usr.bin/mandoc/vol.in

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/589e7c1db2b008d569817318dd8d8a990d926686


-- 
DragonFly BSD source repository





More information about the Commits mailing list