summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-10-25 16:31:44 +0200
committerDavid Tardon <dtardon@redhat.com>2016-10-25 20:54:21 +0000
commit50cbc6fbe8fd107d69d2897755021265af463386 (patch)
treea27e180ed91d8060a0f0ded5690c764478b130cf
parent8175e30b732e3f6f4f1058934e7fe8a1189f40cf (diff)
bail out on use of unknown install module
Change-Id: Ic6ba34e1ea6aff49f308f41e5692e08edc5b77c2 Reviewed-on: https://gerrit.libreoffice.org/30270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
-rw-r--r--solenv/gbuild/InstallModule.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/InstallModule.mk b/solenv/gbuild/InstallModule.mk
index 45522dd0988c..162af86fc2a8 100644
--- a/solenv/gbuild/InstallModule.mk
+++ b/solenv/gbuild/InstallModule.mk
@@ -14,6 +14,7 @@ $(dir $(call gb_InstallModule_get_target,%))%/.dir :
$(call gb_InstallModule_get_target,%) :
$(call gb_Output_announce,$*,$(true),IMO,3)
+ $(if $(INSTALL_MODULE_DEFINED),,$(call gb_Output_error,Something depends on install module $* which does not exist.))
touch $@
$(call gb_InstallModule_get_clean_target,%) :
@@ -23,6 +24,7 @@ $(call gb_InstallModule_get_clean_target,%) :
define gb_InstallModule_InstallModule
$(call gb_InstallModuleTarget_InstallModuleTarget,$(1))
+$(call gb_InstallModule_get_target,$(1)) : INSTALL_MODULE_DEFINED := $(true)
$(call gb_InstallModule_get_target,$(1)) : $(call gb_InstallModuleTarget_get_target,$(1))
$(call gb_InstallModule_get_target,$(1)) :| $(dir $(call gb_InstallModule_get_target,$(1))).dir
$(call gb_InstallModule_get_clean_target,$(1)) : $(call gb_InstallModuleTarget_get_clean_target,$(1))