aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/app.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-11 11:09:40 +0200
committerLoïc Hoguin <[email protected]>2015-09-11 11:09:40 +0200
commit561a12fec48f453da5fc6f03fe886e02e93d9e79 (patch)
tree7e8acdb62b85d6f3f02bcc679fb4d3919a59bdf0 /doc/src/guide/app.asciidoc
parent6dc0f21244f08fe7c11bed471bf5d863aa1b6093 (diff)
downloaderlang.mk-561a12fec48f453da5fc6f03fe886e02e93d9e79.tar.gz
erlang.mk-561a12fec48f453da5fc6f03fe886e02e93d9e79.tar.bz2
erlang.mk-561a12fec48f453da5fc6f03fe886e02e93d9e79.zip
Add documentation for ERLC_EXCLUDE
Diffstat (limited to 'doc/src/guide/app.asciidoc')
-rw-r--r--doc/src/guide/app.asciidoc12
1 files changed, 12 insertions, 0 deletions
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.