From caf37728bc2f10a7c6ce9bde4b94483271d66be6 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 17 Mar 2018 22:30:19 +1100 Subject: [PATCH] mxe.github: add more descriptive error for unknown api --- mxe.github.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mxe.github.mk b/mxe.github.mk index 88b472e9..ef91e29d 100644 --- a/mxe.github.mk +++ b/mxe.github.mk @@ -100,7 +100,8 @@ define MXE_SETUP_GITHUB $(if $(and $(GH_BRANCH),$(GH_TAG_VARS)),\ $(error $(newline) $(PKG) specifies both branch and tag variables $(newline))) $(if $(filter-out $(GH_APIS),$(GH_API))$(filter x,x$(GH_API)),\ - $(error $(newline) $(PKG) has unknown API $($(PKG)_GH_CONF) $(newline))) + $(error $(newline) $(PKG) has unknown API in GH_CONF := $($(PKG)_GH_CONF) $(newline)\ + must be branches|tags|releases)) $(if $(GH_BRANCH),$(value MXE_SETUP_GITHUB_BRANCH),$(value MXE_SETUP_GITHUB_$(call uc,$(GH_API)))) endef