[sdk/kdesrc-build] doc: doc: building-specific-modules - separate docbook
Andrew Shark
null at kde.org
Fri Jan 5 19:07:02 GMT 2024
Git commit 70175b26036e7cd31776b4c8a45d49de2bd1abab by Andrew Shark.
Committed on 05/01/2024 at 19:58.
Pushed by ashark into branch 'master'.
doc: building-specific-modules - separate docbook
A +62 -0 doc/building-specific-modules.docbook
M +2 -62 doc/index.docbook
https://invent.kde.org/sdk/kdesrc-build/-/commit/70175b26036e7cd31776b4c8a45d49de2bd1abab
diff --git a/doc/building-specific-modules.docbook b/doc/building-specific-modules.docbook
new file mode 100644
index 00000000..d0e30a76
--- /dev/null
+++ b/doc/building-specific-modules.docbook
@@ -0,0 +1,62 @@
+<sect1 id="building-specific-modules">
+<title>Building specific modules</title>
+
+<para>Rather than building every module all the time, you may only want to build a single
+ module, or other small subset. Rather than editing your configuration file, you can simply
+ pass the names of modules or module sets to build to the command line.</para>
+
+<example id="example-subset-build">
+<title>Example output of a kdesrc-build specific module build</title>
+<screen>
+ <prompt>%</prompt> <userinput><command>kdesrc-build</command> <option>--include-dependencies</option> <replaceable>dolphin</replaceable></userinput>
+Updating kde-build-metadata (to branch master)
+Updating sysadmin-repo-metadata (to branch master)
+
+Building extra-cmake-modules from frameworks-set (1/79)
+ Updating extra-cmake-modules (to branch master)
+ No changes to extra-cmake-modules source, proceeding to build.
+ Running cmake...
+ Compiling... succeeded (after 0 seconds)
+ Installing.. succeeded (after 0 seconds)
+
+Building phonon from phonon (2/79)
+ Updating phonon (to branch master)
+ No changes to phonon source, proceeding to build.
+ Compiling... succeeded (after 0 seconds)
+ Installing.. succeeded (after 0 seconds)
+
+Building attica from frameworks-set (3/79)
+ Updating attica (to branch master)
+ No changes to attica source, proceeding to build.
+ Compiling... succeeded (after 0 seconds)
+ Installing.. succeeded (after 0 seconds)
+
+ ...
+
+Building dolphin from base-apps (79/79)
+ Updating dolphin (to branch master)
+ No changes to dolphin source, proceeding to build.
+ Compiling... succeeded (after 0 seconds)
+ Installing.. succeeded (after 0 seconds)
+
+<<< PACKAGES SUCCESSFULLY BUILT >>>
+Built 79 modules
+
+Your logs are saved in /home/kde-src/kdesrc/log/2018-01-20-07
+</screen>
+</example>
+
+<para>In this case, although only the <replaceable>dolphin</replaceable>
+application was specified, the <option>--include-dependencies</option> flag
+caused &kdesrc-build; to include the dependencies listed for
+<replaceable>dolphin</replaceable> (by setting the <link
+linkend="conf-include-dependencies">include-dependencies</link> option).
+</para>
+
+<note><para>The dependency resolution worked in this case only because
+<replaceable>dolphin</replaceable> happened to be specified in a
+<literal>kde-projects</literal>-based module set (in this example, named
+<literal>base-apps</literal>). See <xref linkend="module-sets-kde"/>.
+</para></note>
+
+</sect1>
diff --git a/doc/index.docbook b/doc/index.docbook
index f7462149..55314add 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -72,6 +72,7 @@
<!ENTITY appendix-profile SYSTEM "appendix-profile.docbook">
<!ENTITY basic-features SYSTEM "basic-features.docbook">
<!ENTITY building-and-troubleshooting SYSTEM "building-and-troubleshooting.docbook">
+ <!ENTITY building-specific-modules SYSTEM "building-specific-modules.docbook">
]>
<book id="kdesrc-build" lang="&language;">
@@ -544,68 +545,7 @@ which is described in <xref linkend="selecting-modules"/>.</para>
&building-and-troubleshooting;
-<sect1 id="building-specific-modules">
-<title>Building specific modules</title>
-
-<para>Rather than building every module all the time, you may only want to build a single
- module, or other small subset. Rather than editing your configuration file, you can simply
- pass the names of modules or module sets to build to the command line.</para>
-
-<example id="example-subset-build">
-<title>Example output of a kdesrc-build specific module build</title>
-<screen>
- <prompt>%</prompt> <userinput><command>kdesrc-build</command> <option>--include-dependencies</option> <replaceable>dolphin</replaceable></userinput>
-Updating kde-build-metadata (to branch master)
-Updating sysadmin-repo-metadata (to branch master)
-
-Building extra-cmake-modules from frameworks-set (1/79)
- Updating extra-cmake-modules (to branch master)
- No changes to extra-cmake-modules source, proceeding to build.
- Running cmake...
- Compiling... succeeded (after 0 seconds)
- Installing.. succeeded (after 0 seconds)
-
-Building phonon from phonon (2/79)
- Updating phonon (to branch master)
- No changes to phonon source, proceeding to build.
- Compiling... succeeded (after 0 seconds)
- Installing.. succeeded (after 0 seconds)
-
-Building attica from frameworks-set (3/79)
- Updating attica (to branch master)
- No changes to attica source, proceeding to build.
- Compiling... succeeded (after 0 seconds)
- Installing.. succeeded (after 0 seconds)
-
- ...
-
-Building dolphin from base-apps (79/79)
- Updating dolphin (to branch master)
- No changes to dolphin source, proceeding to build.
- Compiling... succeeded (after 0 seconds)
- Installing.. succeeded (after 0 seconds)
-
-<<< PACKAGES SUCCESSFULLY BUILT >>>
-Built 79 modules
-
-Your logs are saved in /home/kde-src/kdesrc/log/2018-01-20-07
-</screen>
-</example>
-
-<para>In this case, although only the <replaceable>dolphin</replaceable>
-application was specified, the <option>--include-dependencies</option> flag
-caused &kdesrc-build; to include the dependencies listed for
-<replaceable>dolphin</replaceable> (by setting the <link
-linkend="conf-include-dependencies">include-dependencies</link> option).
-</para>
-
-<note><para>The dependency resolution worked in this case only because
-<replaceable>dolphin</replaceable> happened to be specified in a
-<literal>kde-projects</literal>-based module set (in this example, named
-<literal>base-apps</literal>). See <xref linkend="module-sets-kde"/>.
-</para></note>
-
-</sect1>
+&building-specific-modules;
<sect1 id="environment">
<title>Setting the Environment to Run Your &kde; &plasma; Desktop</title>
More information about the kde-doc-english
mailing list