diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | erlang.mk | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -204,6 +204,8 @@ file is fetched. `RELX_URL` is the location where `relx` can be downloaded if it is not found locally. +`RELX_OPTS` is for setting relx in-line options, if any. + Extra targets ------------- @@ -24,7 +24,7 @@ export PKG_FILE PKG_FILE_URL ?= https://raw.github.com/extend/erlang.mk/master/packages.v1.tsv define get_pkg_file - wget -O $(PKG_FILE) $(PKG_FILE_URL) || rm $(PKG_FILE) + wget --no-check-certificate -O $(PKG_FILE) $(PKG_FILE_URL) || rm $(PKG_FILE) endef # Verbosity and tweaks. @@ -58,7 +58,8 @@ ifneq ($(wildcard $(RELX_CONFIG)),) RELX ?= $(CURDIR)/relx export RELX -RELX_URL ?= https://github.com/erlware/relx/releases/download/0.4.0/relx +RELX_URL ?= https://github.com/erlware/relx/releases/download/v0.5.2/relx +RELX_OPTS ?= define get_relx wget -O $(RELX) $(RELX_URL) || rm $(RELX) @@ -66,7 +67,7 @@ define get_relx endef rel: clean-rel all $(RELX) - @$(RELX) + @$(RELX) -c $(RELX_CONFIG) $(RELX_OPTS) $(RELX): @$(call get_relx) |