From 561a12fec48f453da5fc6f03fe886e02e93d9e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 11 Sep 2015 11:09:40 +0200 Subject: Add documentation for ERLC_EXCLUDE --- doc/src/guide/app.asciidoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/src/guide/app.asciidoc b/doc/src/guide/app.asciidoc index 528f6e3..0c6f137 100644 --- a/doc/src/guide/app.asciidoc +++ b/doc/src/guide/app.asciidoc @@ -239,6 +239,18 @@ include erlang.mk ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS)) ---- +==== ERLC_EXCLUDE + +`ERLC_EXCLUDE` can be used to exclude some modules from the +compilation. It's there for handling special cases, you should +not normally need it. + +To exclude a module, simply list it in the variable, either +before or after including Erlang.mk: + +[source,make] +ERLC_EXCLUDE = cowboy_http2 + === Cold and hot builds The first time you run `make`, Erlang.mk will build everything. -- cgit v1.2.3