From mickael.remond@REDACTED Fri Sep 24 18:39:06 2004 From: mickael.remond@REDACTED (Mickael Remond) Date: Fri, 24 Sep 2004 18:39:06 +0200 Subject: Make.erl: Using environment variable in Emakefile Message-ID: <41544DAA.8090407@erlang-fr.org> Hello, Here is a small change that I find very usefull for me. It allows me to use environment variable to make some part of Erlang Emakefile configurable. This is very usefull to compile Erlang modules that have dependancies with other Erlang software. You can thus configure environment variable to define where dependant software reside on your own system. Environment variable substitution is triggered by the use of double percent before and after the environment variable name in attributes value. For example: {'src/ejabberd_app.erl', [{outdir, "ebin"}, {i, "%%EJABBERD_SO_PATH%%"}]}. Please tell me if you want me to change something, if this could help integration with Erlang/OTP -- Micka?l R?mond http://www.erlang-projects.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: make.erl.diff Type: text/x-patch Size: 2334 bytes Desc: not available URL: