diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-01-02 08:35:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-01-03 07:14:15 +0000 |
commit | 9fdf6b4d8317df2a6ccc866fad93292b41c97274 (patch) | |
tree | 24b91f8cd335ea3d3f358f161ab2c8a5e07a2048 /solenv | |
parent | 1ce6ae04f7faa84d98b10b67f2ef5f24ac1b0129 (diff) |
More verbose unoidl-check errors
Change-Id: Ie9aa57c5fca730c7874a527cbe5a0d463a67a0e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144930
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/UnoApiTarget.mk | 8 |
1 files changed, 5 insertions, 3 deletions
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,%) : |