[sdk/kdesrc-build/docbook_historied_per_file] doc: Remove purge-old-logs cmdline option.

Michael Pyne null at kde.org
Fri May 10 10:15:11 BST 2024


Git commit 1fc2d01c53fc15daf08f6bf85dddd595e121acd8 by Michael Pyne.
Committed on 07/09/2011 at 20:13.
Pushed by ashark into branch 'docbook_historied_per_file'.

Remove purge-old-logs cmdline option.

The option can actually still be passed since kdesrc-build accepts
command-line options matching known global option names, but since
we default to removing old log directories there's no reason to add 40
different ways to enable this.

Original commit: 7643ae2f
https://invent.kde.org/sdk/kdesrc-build/-/commit/7643ae2f36465f1d824a61dd9c042352ee49022b

M  +0    -10   doc/cmdline/supported-cmdline-params.docbook
M  +1    -10   doc/kdesrc-buildrc/conf-options-table.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/1fc2d01c53fc15daf08f6bf85dddd595e121acd8

diff --git a/doc/cmdline/supported-cmdline-params.docbook b/doc/cmdline/supported-cmdline-params.docbook
index 6cbfc376..cbf3599c 100644
--- a/doc/cmdline/supported-cmdline-params.docbook
+++ b/doc/cmdline/supported-cmdline-params.docbook
@@ -339,16 +339,6 @@ the last run).
 </para></listitem>
 </varlistentry>
 
-<varlistentry id="cmdline-purge-old-logs"><term><parameter>--purge-old-logs</parameter></term>
-<listitem><para>
-This option causes &kdesrc-build; to delete unneeded log directories after
-the build, to save disk space. All log directories that are not needed to
-satisfy a link from <filename>log/latest</filename> will be deleted. This is disabled
-by default. To enable this option by default, see the <link linkend="conf-purge-old-logs">purge-old-logs</link>
-option.
-</para></listitem>
-</varlistentry>
-
 <varlistentry id="cmdline-no-snapshots"><term><parameter>--no-snapshots</parameter></term>
 <listitem><para>
 Supplying this option causes &kdesrc-build; to always perform a normal initial
diff --git a/doc/kdesrc-buildrc/conf-options-table.docbook b/doc/kdesrc-buildrc/conf-options-table.docbook
index 131dea70..224db878 100644
--- a/doc/kdesrc-buildrc/conf-options-table.docbook
+++ b/doc/kdesrc-buildrc/conf-options-table.docbook
@@ -537,16 +537,7 @@ where the KDE Platform libraries are installed, such as if you were using
 <entry>purge-old-logs</entry>
 <entry>Module setting overrides global</entry>
 <entry><para>This option controls whether old log directories are automatically
-deleted or not. The default value is <replaceable>false</replaceable>.</para>
-
-<para>Even if you have not set this option to true, you can manually purge the
-old log directories by running:</para>
-
-<command>kdesrc-build --no-src --no-build --purge-old-logs
-<replaceable>kdelibs</replaceable></command>
-
-<para>You can use any module name in the above command line, it does not have
-to be kdelibs.</para>
+deleted or not. The default value is <replaceable>true</replaceable>.</para>
 </entry>
 </row>
 



More information about the kde-doc-english mailing list