diff options
author | Samuel Thibault <sthibault@hypra.fr> | 2018-03-14 13:37:31 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-04-21 00:00:24 +0200 |
commit | 77b09e7f921c42c41171e431813652db6de54679 (patch) | |
tree | 6703d8d513f4974e9709a10678a8e38eec44aefa /solenv | |
parent | 9ebe4dec48a3677fced23ede58e31057b5db1df3 (diff) |
gbuild: add target rules for all modules
This allows to run e.g. make UIConfig to automatically run make
UIConfig_<module> for all modules.
Change-Id: Idc2c3a61fd38b486435366164031b4d51f68eebc
Reviewed-on: https://gerrit.libreoffice.org/51274
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/Helper.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk index 688f5963a1f5..2aa0fc8d65b2 100644 --- a/solenv/gbuild/Helper.mk +++ b/solenv/gbuild/Helper.mk @@ -88,7 +88,8 @@ endef # # gb_Helper_make_userfriendly_targets target class build-target? clean-target? define gb_Helper_make_userfriendly_targets -.PHONY: $(2)_$(1) $(2)_$(1).clean +.PHONY: $(2) $(2)_$(1) $(2)_$(1).clean +$(2): $(2)_$(1) $(2)_$(1) : $(if $(3),$(3),$(call gb_$(2)_get_target,$(1))) $(2)_$(1).clean : $(if $(4),$(4),$(call gb_$(2)_get_clean_target,$(1))) |