=================================================================== RCS file: /cvs/mandoc/Attic/index.sgml,v retrieving revision 1.3 retrieving revision 1.9 diff -u -p -r1.3 -r1.9 --- mandoc/Attic/index.sgml 2009/02/23 16:01:33 1.3 +++ mandoc/Attic/index.sgml 2009/02/27 10:55:16 1.9 @@ -24,14 +24,19 @@
- mdocml is a suite of tools that compile “mdoc”, the roff macro - package of the BSD manual pages. The mission of mdocml is to deprecate mdocml is a suite of tools compiling “mdoc”, the roff macro + package for BSD manual pages. The mission of mdocml is to deprecate groff, the GNU roff implementation, for - displaying BSD mdoc pages. groff amounts to over 60 000 lines of GPL C++ source, which is a - considerable encumbrance to BSD operating system. + displaying BSD mdoc pages.
+ Why? groff amounts to roughly 5,2 MB of source code (OpenBSD 4.2), some of which is C++ and all of + which is GPL. It runs slowly, produces uncertain output, and varies in operation from system + to system. mdocml strives to fix this (respectively small, C, ISC-licensed, fast and regular). +
+ +
The core of mdocml is the libmdoc library, a validating scanner-parser producing
intermediate-form output from mdoc input. libmdoc is a simple, fast library operating on memory buffers
of mdoc input. Its intermediate output, an abstract syntax tree, is fully documented in the
+ The most current version is @VERSION@, dated + @VDATE@. +
+- CVS sources are checkedout and snapshotted nightly. These may be found in the /snapshots/ directory.
% cd /tmp
- % ftp -V -o- http://mdocml.bsd.lv/snapshots/mdocml.tgz | tar -zxf -
+ % ftp -V -o- http://mdocml.bsd.lv/snapshots/mdocml.tar.gz | tar -zvxf -
% cd mdocml
- % make
+ % make all
% make regress
- % make install
+ # make install
- The nightly snapshot is automatically converted into an OpenBSD port (ports for other BSD systems not + The source snapshot is automatically converted into an OpenBSD port (ports for other BSD systems not yet available). These may be found in the /ports-openbsd/ directory. + You must have the ports tree installed.
-- If installing for the first time (you must have the ports tree installed): -
-
- % cd /usr/ports/devel/
- % ftp -V -o- http://mdocml.bsd.lv/ports-openbsd/mdocml.tgz | tar -zxf -
- % cd mdocml
- % sudo make
- % sudo make install
+ # pkg_delete mdocml
+ # cd /usr/ports/devel/
+ # rm -rf mdocml
+ # ftp -V -o- http://mdocml.bsd.lv/ports-openbsd/mdocml.tar.gz | tar -zvxf -
+ # cd mdocml
+ # make build
+ # make regress
+ # make install
- Subsequent installations: -
- -- % sudo pkg_add -r mdocml -