Git commit d8fb6b82a84f32232294ef35f16cf2f74f269474 by Andrew Shark. Committed on 16/01/2024 at 11:49. Pushed by ashark into branch 'docbook_historied_per_file'.
Add support for --no-build-when-unchanged This option was mistakenly not marked as negatable. Adding the negatable form allows to override the `true` value set to this option from config. Fixes: #351 Original commit: fe8dbd69 https://invent.kde.org/sdk/kdesrc-build/-/commit/fe8dbd69e35a9367181fe5d27c10d25786f192a4 M +2 -4 doc/kdesrc-buildrc/conf-options-table.docbook https://invent.kde.org/sdk/kdesrc-build/-/commit/d8fb6b82a84f32232294ef35f16cf2f74f269474 diff --git a/doc/kdesrc-buildrc/conf-options-table.docbook b/doc/kdesrc-buildrc/conf-options-table.docbook index 86e35dbb..da8b7da1 100644 --- a/doc/kdesrc-buildrc/conf-options-table.docbook +++ b/doc/kdesrc-buildrc/conf-options-table.docbook @@ -417,13 +417,11 @@ class="directory">/home/user-name/builddir</filename>.</para></listitem> <para>Control whether &kdesrc-build; always tries to build a module that has not had any source code updates.</para> -<para>By setting <option>build-when-unchanged</option> to -<userinput>true</userinput>, &kdesrc-build; always attempts the build phase +<para>If set to <userinput>true</userinput>, &kdesrc-build; always attempts the build phase for a module, even if the module did not have any source code updates. With this value it will more likely lead to a correct build.</para> -<para>By setting <option>build-when-unchanged</option> to -<userinput>false</userinput>, &kdesrc-build; will only attempt to run the +<para>If set to <userinput>false</userinput>, &kdesrc-build; will only attempt to run the build phase for a module if the module has a source code update, or in other situations where it is likely that a rebuild is actually required. This can save time, especially if you run &kdesrc-build; daily, or more frequently.</para>