summaryrefslogtreecommitdiffstats
path: root/mxe.github.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-17 11:30:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-17 11:30:19 (GMT)
commitcaf37728bc2f10a7c6ce9bde4b94483271d66be6 (patch)
tree1cdeccb78240bbde193095c9bb34b225a9e68ced /mxe.github.mk
parent0d23d29097036c847e8f189e502af0a235eeec38 (diff)
downloadmxe-caf37728bc2f10a7c6ce9bde4b94483271d66be6.zip
mxe-caf37728bc2f10a7c6ce9bde4b94483271d66be6.tar.gz
mxe-caf37728bc2f10a7c6ce9bde4b94483271d66be6.tar.bz2
mxe.github: add more descriptive error for unknown api
Diffstat (limited to 'mxe.github.mk')
-rw-r--r--mxe.github.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mxe.github.mk b/mxe.github.mk
index 88b472e..ef91e29 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