aboutsummaryrefslogtreecommitdiff
path: root/vars.config.in
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-04-08 11:12:54 +0200
committerChristophe Romain <christophe.romain@process-one.net>2013-06-13 11:11:02 +0200
commit4d8f7706240a1603468968f47fc7b150b788d62f (patch)
tree92d55d789cc7ac979b3c9e161ffb7f908eba043a /vars.config.in
parentFix Guide: ejabberd_service expects a shaper_rule, not a shaper (diff)
Switch to rebar build tool
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
Diffstat (limited to 'vars.config.in')
-rw-r--r--vars.config.in51
1 files changed, 51 insertions, 0 deletions
diff --git a/vars.config.in b/vars.config.in
new file mode 100644
index 000000000..31c356fc9
--- /dev/null
+++ b/vars.config.in
@@ -0,0 +1,51 @@
+%%%-------------------------------------------------------------------
+%%% @author Evgeniy Khramtsov <ekhramtsov@process-one.net>
+%%% @copyright (C) 2013, Evgeniy Khramtsov
+%%% @doc
+%%%
+%%% @end
+%%% Created : 8 May 2013 by Evgeniy Khramtsov <ekhramtsov@process-one.net>
+%%%-------------------------------------------------------------------
+%% Macros
+{roster_gateway_workaround, @roster_gateway_workaround@}.
+{transient_supervisors, @transient_supervisors@}.
+{full_xml, @full_xml@}.
+{nif, @nif@}.
+{db_type, @db_type@}.
+{debug, @debug@}.
+{hipe, @hipe@}.
+
+%% Ad-hoc directories with source files
+{tools, @tools@}.
+
+%% Dependencies
+{odbc, @odbc@}.
+{mysql, @mysql@}.
+{pgsql, @pgsql@}.
+{pam, @pam@}.
+{zlib, @zlib@}.
+{stun, @stun@}.
+{json, @json@}.
+{http, @http@}.
+{lager, @lager@}.
+{iconv, @iconv@}.
+
+%% Version
+{vsn, "@PACKAGE_VERSION@"}.
+
+%% Variables for overlay template files
+
+%% Platform-specific installation paths
+{release, true}.
+{release_dir, "${SCRIPT_DIR%/*}"}.
+{sysconfdir, "{{release_dir}}/etc"}.
+{installuser, "@INSTALLUSER@"}.
+{erl, "{{release_dir}}/{{erts_vsn}}/bin/erl"}.
+{localstatedir, "{{release_dir}}/var"}.
+{libdir, "{{release_dir}}/lib"}.
+{docdir, "{{release_dir}}/doc"}.
+
+%% Local Variables:
+%% mode: erlang
+%% End:
+%% vim: set filetype=erlang tabstop=8: