[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[7a91c80] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY mandoc-download-http "https://mandoc.bsd.lv/snapshots/mandoc-&mandoc-version;.tar.gz">
|
---|
| 8 | <!ENTITY mandoc-download-ftp " ">
|
---|
| 9 | <!ENTITY mandoc-md5sum "f0adf24e8fdef5f3e332191f653e422a">
|
---|
| 10 | <!ENTITY mandoc-size "684 KB">
|
---|
| 11 | <!ENTITY mandoc-buildsize "22 MB (with tests)">
|
---|
| 12 | <!ENTITY mandoc-time "less than 0.1 SBU (with tests)">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="mandoc" xreflabel="mandoc-&mandoc-version;">
|
---|
| 16 | <?dbhtml filename="mandoc.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>mandoc-&mandoc-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="mandoc">
|
---|
| 22 | <primary sortas="a-mandoc">mandoc</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to mandoc</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | mandoc is an utility to format manual pages.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[868811b] | 32 | &lfs121_checked;
|
---|
[7a91c80] | 33 |
|
---|
| 34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&mandoc-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&mandoc-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &mandoc-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &mandoc-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &mandoc-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &mandoc-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of mandoc</title>
|
---|
| 71 |
|
---|
| 72 | <para>
|
---|
| 73 | Many utilities provided by <application>mandoc</application> conflicts
|
---|
| 74 | with <application>Man-DB</application> in LFS. Only build the
|
---|
| 75 | <command>mandoc</command> command:
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>./configure &&
|
---|
| 79 | make mandoc</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | <para>
|
---|
| 82 | To test the package, issue: <command>make regress</command>.
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>install -vm755 mandoc /usr/bin &&
|
---|
| 90 | install -vm644 mandoc.1 /usr/share/man/man1</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="content">
|
---|
| 95 | <title>Contents</title>
|
---|
| 96 |
|
---|
| 97 | <segmentedlist>
|
---|
| 98 | <segtitle>Installed Programs</segtitle>
|
---|
| 99 |
|
---|
| 100 | <seglistitem>
|
---|
| 101 | <seg>
|
---|
| 102 | mandoc
|
---|
| 103 | </seg>
|
---|
| 104 | </seglistitem>
|
---|
| 105 | </segmentedlist>
|
---|
| 106 |
|
---|
| 107 | <variablelist>
|
---|
| 108 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 109 | <?dbfo list-presentation="list"?>
|
---|
| 110 | <?dbhtml list-presentation="table"?>
|
---|
| 111 |
|
---|
| 112 | <varlistentry id="mandoc-prog">
|
---|
| 113 | <term><command>mandoc</command></term>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>
|
---|
| 116 | Formats manual pages
|
---|
| 117 | </para>
|
---|
| 118 | <indexterm zone="mandoc mandoc-prog">
|
---|
| 119 | <primary sortas="b-mandoc-prog">mandoc</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | </variablelist>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | </sect1>
|
---|