various docdir fix

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23578 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Xi Ruoyao 2020-08-19 18:09:48 +00:00
parent c0b9aa944f
commit ec0f2a5dfd
6 changed files with 22 additions and 7 deletions

View File

@ -111,7 +111,7 @@
following command:
</para>
<screen><userinput>make gui</userinput></screen>
<screen><userinput>make gui doc_dir=/usr/share/doc/highlight-&highlight-version;/</userinput></screen>
<!--
<para>
To build the API documentation, run the following command:
@ -129,7 +129,7 @@
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make install doc_dir=/usr/share/doc/highlight-&highlight-version;/</userinput></screen>
<para>
To install the GUI program, run the following command as the
@ -147,6 +147,17 @@
-->
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>doc_dir=/usr/share/doc/highlight-&highlight-version;</parameter>:
install highlight documentation into a versioned directory. This
parameter is also needed for <command>make gui</command>, because
its value would be hardcoded into the gui executable.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
@ -164,7 +175,7 @@
</seg>
<seg>
/etc/highlight,
/usr/share/doc/highlight, and
/usr/share/doc/highlight/&highlight-version;, and
/usr/share/highlight
</seg>
</seglistitem>

View File

@ -107,7 +107,8 @@
<screen><userinput>./configure --prefix=/usr \
--enable-vala \
--disable-static &amp;&amp;
--disable-static \
--docdir=/usr/share/doc/librsvg-&librsvg-version; &amp;&amp;
make</userinput></screen>
<para>

View File

@ -188,6 +188,7 @@ meson --prefix=/usr \
-Db_lto=false \
-Dhomed=false \
-Duserdb=false \
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
.. &amp;&amp;
ninja</userinput></screen>

View File

@ -97,7 +97,8 @@
</para>
<screen><userinput>./configure --prefix=/usr \
--disable-thorough-tests &amp;&amp;
--disable-thorough-tests \
--docdir=/usr/share/doc/flac-&flac-version; &amp;&amp;
make</userinput></screen>
<para>

View File

@ -115,7 +115,8 @@
<screen><userinput>./configure --prefix=/usr \
--disable-static \
--with-fuse=internal &amp;&amp;
--with-fuse=internal \
--docdir=/usr/share/doc/ntfs-3g-&ntfs-3g-version; &amp;&amp;
make</userinput></screen>
<para>

View File

@ -98,7 +98,7 @@
commands:
</para>
<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
<screen><userinput>./configure $XORG_CONFIG --docdir=/usr/share/doc/libXdmcp-&libXdmcp-version; &amp;&amp;
make</userinput></screen>
<para>