solenv/gbuild/UnoApiTarget.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
New commits: commit 9fdf6b4d8317df2a6ccc866fad93292b41c97274 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Jan 2 08:35:28 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Jan 3 07:14:15 2023 +0000 More verbose unoidl-check errors Change-Id: Ie9aa57c5fca730c7874a527cbe5a0d463a67a0e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144930 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk index 25a53dfa0a59..67e8bccca906 100644 --- a/solenv/gbuild/UnoApiTarget.mk +++ b/solenv/gbuild/UnoApiTarget.mk @@ -35,9 +35,11 @@ $(if $(UNOAPI_ENTITIES), \ $(if $(UNOAPI_ENTITIES),&& rm -f $${RESPONSEFILE}) \ $(if $(UNOAPI_REFERENCE), \ $(call gb_Output_announce,$(2),$(true),DBc,3) \ - && $(gb_UnoApiTarget_UNOIDLCHECKCOMMAND) $(UNOAPI_REFERENCE) -- \ - $(foreach rdb,$(UNOAPI_DEPRDBS),$(call gb_UnoApiTarget_get_target,$(rdb))) \ - $(1)) + && { $(gb_UnoApiTarget_UNOIDLCHECKCOMMAND) $(UNOAPI_REFERENCE) -- \ + $(foreach rdb,$(UNOAPI_DEPRDBS),$(call gb_UnoApiTarget_get_target,$(rdb))) \ + $(1) \ + || { printf 'ERROR: Published UNO API must not be changed incompatibly!\n(If published UNO API shall be changed incompatibly after all, see\n<https://wiki.documentfoundation.org/Development/Incompatible_UNO_API_Changes>.)\n'; \ + false; } }) endef $(call gb_UnoApiTarget_get_target,%) :