Author: xry111 Date: Wed Aug 19 11:09:48 2020 New Revision: 23578 Log: various docdir fix
Modified: trunk/BOOK/general/genutils/highlight.xml trunk/BOOK/general/graphlib/librsvg.xml trunk/BOOK/general/sysutils/systemd.xml trunk/BOOK/multimedia/libdriv/flac.xml trunk/BOOK/postlfs/filesystems/ntfs-3g.xml trunk/BOOK/x/installing/libXdmcp.xml Modified: trunk/BOOK/general/genutils/highlight.xml ============================================================================== --- trunk/BOOK/general/genutils/highlight.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/general/genutils/highlight.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -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> Modified: trunk/BOOK/general/graphlib/librsvg.xml ============================================================================== --- trunk/BOOK/general/graphlib/librsvg.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/general/graphlib/librsvg.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -107,7 +107,8 @@ <screen><userinput>./configure --prefix=/usr \ --enable-vala \ - --disable-static && + --disable-static \ + --docdir=/usr/share/doc/librsvg-&librsvg-version; && make</userinput></screen> <para> Modified: trunk/BOOK/general/sysutils/systemd.xml ============================================================================== --- trunk/BOOK/general/sysutils/systemd.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/general/sysutils/systemd.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -188,6 +188,7 @@ -Db_lto=false \ -Dhomed=false \ -Duserdb=false \ + -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ .. && ninja</userinput></screen> Modified: trunk/BOOK/multimedia/libdriv/flac.xml ============================================================================== --- trunk/BOOK/multimedia/libdriv/flac.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/multimedia/libdriv/flac.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -97,7 +97,8 @@ </para> <screen><userinput>./configure --prefix=/usr \ - --disable-thorough-tests && + --disable-thorough-tests \ + --docdir=/usr/share/doc/flac-&flac-version; && make</userinput></screen> <para> Modified: trunk/BOOK/postlfs/filesystems/ntfs-3g.xml ============================================================================== --- trunk/BOOK/postlfs/filesystems/ntfs-3g.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/postlfs/filesystems/ntfs-3g.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -115,7 +115,8 @@ <screen><userinput>./configure --prefix=/usr \ --disable-static \ - --with-fuse=internal && + --with-fuse=internal \ + --docdir=/usr/share/doc/ntfs-3g-&ntfs-3g-version; && make</userinput></screen> <para> Modified: trunk/BOOK/x/installing/libXdmcp.xml ============================================================================== --- trunk/BOOK/x/installing/libXdmcp.xml Wed Aug 19 04:34:17 2020 (r23577) +++ trunk/BOOK/x/installing/libXdmcp.xml Wed Aug 19 11:09:48 2020 (r23578) @@ -98,7 +98,7 @@ commands: </para> -<screen><userinput>./configure $XORG_CONFIG && +<screen><userinput>./configure $XORG_CONFIG --docdir=/usr/share/doc/libXdmcp-&libXdmcp-version; && make</userinput></screen> <para> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page