From a932f220ca62d1f4f6a0d9bfb6ee206fdef7fe59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 30 Dec 2015 01:58:35 +0100 Subject: Update user guide --- guide/compat.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'guide/compat.html') diff --git a/guide/compat.html b/guide/compat.html index def4498..005b305 100644 --- a/guide/compat.html +++ b/guide/compat.html @@ -44,7 +44,8 @@ use Rebar 2 to patch any Rebar project and make it compatible with Erlang.mk. This feature essentially patches Rebar out and adds a Makefile to the project that Erlang.mk can then use for building:

Autoload is documented in more details in the -Packages and dependencies chapter.

11.2. Erlang.mk projects as Rebar dependencies

Erlang.mk projects can be made compatible with the Rebar family +Packages and dependencies +Chapter 7, Packages and dependencies chapter.

11.2. Erlang.mk projects as Rebar dependencies

Erlang.mk projects can be made compatible with the Rebar family of build tools pretty easily, as Erlang.mk will generate all the files they require for building.

The Rebar family requires two files: a rebar.config file containing compilation options and the list of dependencies, @@ -57,8 +58,8 @@ means that the Rebar family builds your project much the same way as Erlang.mk.

Careful though! Different build tools have different fetching strategies. If some applications provide differing dependencies, they might be fetched differently by other build tools. Check -the Sanity check chapter to find -out how to detect such issues.

You can automatically generate this file when you build +the upcoming Sanity check chapter to find out how to detect such +issues.

You can automatically generate this file when you build your application, by making it a dependency of the app target:

app:: rebar.config

Don’t forget to commit the file when it changes!

If you run into other issues, it’s probably because you use a feature specific to Erlang.mk, like the cp fetch method. -- cgit v1.2.3