mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Update asciidoc python module instructions
This commit is contained in:
parent
d0c8135465
commit
939f4ae4e9
@ -8,7 +8,7 @@
|
||||
<!ENTITY asciidoc-download-ftp " ">
|
||||
<!ENTITY asciidoc-md5sum "3039fb28a56529d2f4a411f1db645cca">
|
||||
<!ENTITY asciidoc-size "212 KB">
|
||||
<!ENTITY asciidoc-buildsize "4.1 MB">
|
||||
<!ENTITY asciidoc-buildsize "2.6 MB">
|
||||
<!ENTITY asciidoc-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
</indexterm>
|
||||
|
||||
<sect3 role="package">
|
||||
<title>Introduction to Asciidoc</title>
|
||||
<title>Introduction to Asciidoc Module</title>
|
||||
|
||||
<para>
|
||||
The <application>Asciidoc</application> package is a text document
|
||||
@ -69,7 +69,7 @@
|
||||
|
||||
<bridgehead renderas="sect4">Asciidoc Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect5">Optional (tests and runtime)</bridgehead>
|
||||
<bridgehead renderas="sect5">Optional (runtime)</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="docbook-xsl"/>,
|
||||
<xref linkend="fop"/>,
|
||||
@ -92,23 +92,9 @@
|
||||
|
||||
<screen role="root"><userinput>rm -rf /usr/bin/{asciidoc*,a2x*}</userinput></screen>
|
||||
|
||||
<!--
|
||||
<para>
|
||||
First, fix a build problem if the optional dependencies are not installed:
|
||||
</para>
|
||||
<para> Build the module: </para>
|
||||
|
||||
<screen><userinput remap='pre'>sed -i 's:doc/testasciidoc.1::' Makefile.in &&
|
||||
rm doc/testasciidoc.1.txt</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install <application>Asciidoc</application> by running
|
||||
the following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure - -prefix=/usr \
|
||||
- -sysconfdir=/etc \
|
||||
- -docdir=/usr/share/doc/asciidoc-&asciidoc-version; &&
|
||||
make</userinput></screen>
|
||||
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
@ -118,19 +104,13 @@ make</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
make docs</userinput></screen>
|
||||
-->
|
||||
<para>
|
||||
Build and install the <application>Python 3</application> module
|
||||
by running the following commands as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
||||
<screen role="root"><userinput>pip3 install --no-index --find-links dist asciidoc</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/pip3-cmd-explain.xml"/>
|
||||
|
||||
<sect3 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
@ -146,7 +126,8 @@ make docs</userinput></screen>
|
||||
</seg>
|
||||
<seg>None</seg>
|
||||
<seg>
|
||||
/usr/lib/python&python3-majorver;/site-packages/asciidoc-&asciidoc-version;-py&python3-majorver;.egg
|
||||
/usr/lib/python&python3-majorver;/site-packages/asciidoc and
|
||||
/usr/lib/python&python3-majorver;/site-packages/asciidoc-&asciidoc-version;.dis-info
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user