From b3bfa828d54d3fbe7e2364b513f509f04059d211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 24 Sep 2015 12:38:15 +0200 Subject: Add tests for custom, fail (bad and unknown) and legacy fetch methods Also improves the handling of the legacy fetch method. It is now enabled only for dependencies, and not for the top-level application. This should force Erlang.mk users to update their definitions. --- core/deps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/deps.mk b/core/deps.mk index 94a45e4..91c42f9 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -524,7 +524,7 @@ define dep_fetch $(if $(dep_$(1)), \ $(if $(dep_fetch_$(word 1,$(dep_$(1)))), \ $(word 1,$(dep_$(1))), \ - legacy), \ + $(if $(IS_DEP),legacy,fail)), \ $(if $(filter $(1),$(PACKAGES)), \ $(pkg_$(1)_fetch), \ fail)) -- cgit v1.2.3