diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-02-22 09:46:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-02-22 18:07:10 +0100 |
commit | b7e8ae27f85aea1e924a28c7facfd82289b9e6a9 (patch) | |
tree | 969e625e0d78209655e073263c631e57409666ae /solenv/gbuild/UIConfig.mk | |
parent | Updated core (diff) | |
download | core-b7e8ae27f85aea1e924a28c7facfd82289b9e6a9.tar.gz core-b7e8ae27f85aea1e924a28c7facfd82289b9e6a9.zip |
Fix clean-up of gb_UIConfig_get_a11yerrors_target
The old code tried to remove non-exisiting *.a11yerrors files corresponding to a
UIConfig's individual *.ui files, not the one single *.a11yerrors file
corresponding to the UIConfig itself.
Also, there's no need to have a UIA11YErrorsTarget merely for clean-up. Just
do that clean-up as part of gb_UIConfig_get_clean_target.
Change-Id: I6676f08496254398801bb75172c1326d1c843071
Reviewed-on: https://gerrit.libreoffice.org/50156
Reviewed-by: Samuel Thibault <sthibault@hypra.fr>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv/gbuild/UIConfig.mk')
-rw-r--r-- | solenv/gbuild/UIConfig.mk | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/solenv/gbuild/UIConfig.mk b/solenv/gbuild/UIConfig.mk index 458d426ce413..e7de81a25839 100644 --- a/solenv/gbuild/UIConfig.mk +++ b/solenv/gbuild/UIConfig.mk @@ -117,6 +117,8 @@ $(call gb_UIConfig_get_clean_target,%) : $(call gb_Helper_abbreviate_dirs,\ rm -f $(call gb_UIConfig_get_target,$*) $(call gb_UIConfig_get_imagelist_target,$*) \ ) + $(call gb_Output_announce,$*,$(false),UIA,2) + rm -f $(call gb_UIConfig_get_a11yerrors_target,$*) define gb_UIConfig_a11yerrors__command $(call gb_Output_announce,$(2),$(true),UIA,1) @@ -132,11 +134,6 @@ else touch $@ endif -.PHONY : $(call gb_UIA11YErrorsTarget_get_clean_target,%) -$(call gb_UIA11YErrorsTarget_get_clean_target,%) : - $(call gb_Output_announce,$*,$(false),UIA,2) - rm -f $(call gb_UIConfig_get_a11yerrors_target,$*) - gb_UIConfig_get_packagename = UIConfig/$(1) gb_UIConfig_get_packagesetname = UIConfig/$(1) @@ -190,7 +187,6 @@ $(call gb_UIConfig_get_imagelist_target,$(1)) : $(call gb_UIImageListTarget_get_ $(call gb_UIConfig_get_clean_target,$(1)) : $(call gb_UIImageListTarget_get_clean_target,$(2)) $(call gb_UIConfig_get_a11yerrors_target,$(1)) : UIFILES += $(SRCDIR)/$(2).ui -$(call gb_UIConfig_get_clean_target,$(1)) : $(call gb_UIA11YErrorsTarget_get_clean_target,$(2)) endef |