diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/guide/releases.asciidoc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/guide/releases.asciidoc b/doc/src/guide/releases.asciidoc index 92968ff..68174b3 100644 --- a/doc/src/guide/releases.asciidoc +++ b/doc/src/guide/releases.asciidoc @@ -15,6 +15,20 @@ the variable before including Erlang.mk: [source,make] RELX_CONFIG = $(CURDIR)/webchat.config +It is also possible to have multiple 'relx.config' files. +For example you might have one for development and one for +production. You can use conditionals to decide which one +should be used: + +[source,make] +---- +ifdef PROD +RELX_CONFIG = $(CURDIR)/relx.prod.config +else +RELX_CONFIG = $(CURDIR)/relx.dev.config +endif +---- + Relx does not need to be installed. Erlang.mk will download and build it automatically. |