solenv/gbuild/Rdb.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit baaeca870f5c8ae40d33eff2b530bd4b3670ee45
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Wed May 8 14:53:05 2024 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Fri May 10 10:08:41 2024 +0200

    gbuild: don't create empty services.rdb on "make postprocess"
    
    Since commit db3a61cd958f4a70417929cf8e1fa9bfd0bfe5a3 "make
    postprocess.clea; make postprocess" will result in an empty
    services.rdb, because the components are added in makefiles in other
    modules.  Detect the problem and tell the user to run top-level make.
    
    Change-Id: Iab1a15efa5a4c9bb3e90e44f82a9510dff724c80
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167354
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins

diff --git a/solenv/gbuild/Rdb.mk b/solenv/gbuild/Rdb.mk
index 136e1c2ee4dd..fff774dcb5b8 100644
--- a/solenv/gbuild/Rdb.mk
+++ b/solenv/gbuild/Rdb.mk
@@ -10,6 +10,7 @@
 gb_Rdb__get_install_target = $(INSTROOT)/$(LIBO_ETC_FOLDER)/services/$(1).rdb
 
 define gb_Rdb__command
+$(if $(COMPONENTS),,$(call gb_Output_error,Rdb without components: partial 
build of module postprocess is not possible currently - only top-level make 
works))
 $(call gb_Helper_abbreviate_dirs,\
        RESPONSEFILE=$(call gb_var2file,$(shell $(call gb_MKTEMP)),\
                <list> \

Reply via email to