From e9032fa19c9d7981134e519256a4d934d2c4e5d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= =
will work. But to avoid it biting you later on, do this:
DEPS_DIR ?= $(CURDIR)/libs
The $(CURDIR)
part is important, otherwise dependencies of
dependencies will be fetched in the wrong directory.
Erlang.mk will also export the REBAR_DEPS_DIR
variable for
compatibility with Rebar build tools, as long as they are
-recent enough.
In addition to the dependencies that are fetched, Erlang.mk +recent enough.
In addition to the dependencies that are fetched, Erlang.mk also allows you to have dependencies local to your repository. This kind of layout is sometimes called multi-application repositories, or repositories with multiple applications.
They work exactly the same as remote dependencies, except: