summaryrefslogtreecommitdiffstats
path: root/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/erlang.mk/1/guide/dialyzer.asciidoc')
-rw-r--r--docs/en/erlang.mk/1/guide/dialyzer.asciidoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/en/erlang.mk/1/guide/dialyzer.asciidoc b/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
index 58fe53ff..60311137 100644
--- a/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
+++ b/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
@@ -71,3 +71,16 @@ it doesn't exist. This is normally not necessary as
Dialyzer creates it automatically.
The PLT file will be removed when you run `make distclean`.
+
+=== Dialyzing beam files
+
+By default Erlang.mk will run Dialyzer against the source
+code. It is possible to configure Erlang.mk to use the
+compiled source files instead. This is done using the
+`DIALYZER_DIRS` variable:
+
+[source,make]
+DIALYZER_DIRS = -r ebin
+
+This value must be set before including Erlang.mk to
+function properly.