Makefile.in |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 25d4058a70520dcf34c0e764cc1a4b8f3544b41f
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Dec 13 20:48:21 2025 +0000
Commit:     Michael Stahl <[email protected]>
CommitDate: Tue Feb 17 11:02:32 2026 +0100

    omit uicheck if --disable-gui used
    
    Change-Id: I1acf4ec404d7000bae4395cc3b587bd7ddbb6ecd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195612
    Reviewed-by: Michael Stahl <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/Makefile.in b/Makefile.in
index f23e1f0aa5c7..cb80cb8e0b0d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -11,9 +11,12 @@ gb_Top_MODULE_CHECK_TARGETS := slowcheck unitcheck 
subsequentcheck perfcheck uic
 
 .PHONY : check-if-root check-makefile-version bootstrap gbuild build 
build-non-l10n-only build-l10n-only check clean clean-build clean-host 
test-install distclean distro-pack-install docs download etags fetch 
get-submodules id install install-gdb-printers install-strip tags debugrun help 
showmodules translations packageinfo coverage internal.clean 
$(gb_Top_MODULE_CHECK_TARGETS)
 
+DISABLE_GUI := @DISABLE_GUI@
+
 MAKECMDGOALS?=build
 build_goal:=$(if $(filter build uicheck,$(MAKECMDGOALS)),build)\
- $(if $(filter check,$(MAKECMDGOALS)),unitcheck slowcheck subsequentcheck $(if 
$(filter Linux, $(shell uname)), uicheck))\
+ $(if $(filter check,$(MAKECMDGOALS)),unitcheck slowcheck subsequentcheck \
+        $(if $(and $(filter Linux, $(shell uname)),$(if $(DISABLE_GUI),,1)), 
uicheck)) \
  $(filter build-l10n-only build-non-l10n-only debugrun help showmodules 
translations $(gb_Top_MODULE_CHECK_TARGETS) check packageinfo 
gbuildtojson,$(MAKECMDGOALS))
 
 SRCDIR := @SRC_ROOT@

Reply via email to