[sdk/kdesrc-build/docbook_historied_per_file] doc/kdesvn-buildrc: Add remove-after-install option to add wish 109044. This can be used to remove

Michael Pyne null at kde.org
Fri May 10 10:14:25 BST 2024


Git commit cbe91666f39690f6f3febc5994ac7495599f1e24 by Michael Pyne.
Committed on 15/07/2005 at 01:12.
Pushed by ashark into branch 'docbook_historied_per_file'.

Add remove-after-install option to add wish 109044.  This can be used to remove
the builddir and/or source dir after a successful module install, for people
with limited disk space.

Supports the following values:
none     - Don't delete anything.  Obviously this is the default.
builddir - Delete the build directory after install.

This isn't a command line option though, it needs to be set in your
~/.kdesvn-buildrc (it is possible to set it via the command line though by
doing --remove-after-install=builddir).

BUG:109044

svn path=/trunk/KDE/kdesdk/doc/scripts/kdesvn-build/; revision=434684

Original commit: b89f6bea
https://invent.kde.org/sdk/kdesrc-build/-/commit/b89f6bea3a3edf596b5a17bc1df48c0a576ffddb

M  +22   -0    doc/kdesvn-buildrc/index.docbook

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

diff --git a/doc/kdesvn-buildrc/index.docbook b/doc/kdesvn-buildrc/index.docbook
index 71922cdb..e159e073 100644
--- a/doc/kdesvn-buildrc/index.docbook
+++ b/doc/kdesvn-buildrc/index.docbook
@@ -409,6 +409,28 @@ You may use a tilde (~) to represent your home directory.
 </entry>
 </row>
 
+<row id="conf-remove-after-install">
+<entry>remove-after-install</entry>
+<entry>Overrides global</entry>
+<entry><para>If you are low on hard disk space, you may want to use this option
+in order to automatically delete the build directory (or both the source and
+build directories for one-time installs) after the module is successfully
+installed.
+</para>
+<para>Possible values for this option are:
+<itemizedlist>
+<listitem><para>none - Do not delete anything (This is the default).</para></listitem>
+<listitem><para>builddir - Delete the build directory, but not the source.</para></listitem>
+<listitem><para>all - Delete both the source code and build directory.</para></listitem>
+</itemizedlist>
+</para>
+
+<para>Note that using this option can have a significant detrimental impact on
+both your bandwidth usage (if you use 'all') and the time taken to compile KDE,
+since kdesvn-build will be unable to perform incremental builds.</para>
+</entry>
+</row>
+
 <row id="conf-set-env">
 <entry>set-env</entry>
 <entry>Overrides global</entry>



More information about the kde-doc-english mailing list