summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Executable.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-02-25 11:56:21 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-02-26 15:06:50 +0000
commitf624144e41291c11f3892dda1027221989d704be (patch)
tree222303c07eea7c33877dcec8d577fcd9e1af9aa4 /solenv/gbuild/Executable.mk
parentc81e40d02610b665a9edcc73b57ac7e783913988 (diff)
move postprocess to gbuild
the gb_Postprocess* foo could also be in gb_Module* as it is conceptionally close ('do things globally/productwide'). OTOH I see no obvious reason for e.g. signing not to be done right along with building a lib/executable anyway instead of in postprocess. The same is likely true for the other stuff too. Change-Id: I9c8f569564c056643af7ca39bfe038ed228dcd3d Reviewed-on: https://gerrit.libreoffice.org/2426 Reviewed-by: Matúš Kukan <matus.kukan@gmail.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'solenv/gbuild/Executable.mk')
-rw-r--r--solenv/gbuild/Executable.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk
index 7989d2410808..5c071a5c8dfc 100644
--- a/solenv/gbuild/Executable.mk
+++ b/solenv/gbuild/Executable.mk
@@ -48,6 +48,7 @@ $(call gb_Executable_get_clean_target,%) :
$(AUXTARGETS))
define gb_Executable_Executable
+$(call gb_Postprocess_get_target,AllExecutables) : $(call gb_Executable_get_target,$(1))
ifeq (,$$(findstring $(1),$$(gb_Executable_KNOWN)))
$$(eval $$(call gb_Output_info,Currently known executables: $(sort $(gb_Executable_KNOWN)),ALL))
$$(eval $$(call gb_Output_error,Executable $(1) must be registered in Repository.mk))
@@ -168,4 +169,8 @@ $(call gb_Executable_get_runtime_target,$(1)) : $(2)
endef
+$(call gb_Postprocess_get_target,AllExecutables) :
+ $(call gb_Output_announce,All executables: $^,$(true),ALL)
+ $(call gb_Helper_abbreviate_dirs,mkdir -p $(dir $@) && touch $@)
+
# vim: set noet sw=4: