* What's this?

 This is debhelper support tool of the build tool rebar used by Erlang.
 This provides Buildsystem of rebar and rebar3, dh_rebar program which
 executes erlang-depends for each package, and Sequence of rebar which
 injects dh_rebar into the debhelper sequence of calls.

* How do I use this?
 
 You can build the Erlang program using rebar to debian package, by writing 
 debian/rules and debian/dh-rebar.conf.

 debian/rules:
  -----
  #!/usr/bin/make -f
  
  %:
  	dh $@ --buildsystem=rebar --with rebar 
  -----
 or
  -----
  #!/usr/bin/make -f
  
  %:
  	dh $@ --buildsystem=rebar3 --with rebar 
  -----

 debian/dh-rebar.conf:
  -----
  EXEC_REBAR_COMMANDS=compile
  -----

* About dh-rebar.conf
 * PKG_NAME:
   Set name of Erlang package. If you want to change debian-package name, you
   can use this. Usually, you do not need to specify this. 

 * PKG_VERSION:
   Set version of Erlang package. If you do not want to use debian-package name,
   you can use this. Usually, you do not need to specify this.

 * EXEC_REBAR_COMMANDS:
   Set command of rebar. The command of rebar executed with your package is
   specified. When there are more than one, it separates by a space. 
   For example, if your package does compile and a test, it specifies as follows. 
   
   EXEC_REBAR_COMMANDS=compile eunit

 * REBAR_LIB_DIR:
   The place where a library etc. are installed is specified. 
   Usually, although 'priv' is used, when installed in a different directory, please
   specify this using this. Usually, you do not need to specify this.

 * REBAR_BIN_DIR:
   The place where a Erlang binary. are installed is specified. 
   Usually, although 'ebin' is used, when installed in a different directory, please
   specify this using this. Usually, you do not need to specify this.

 * REBAR_INCLUDE_DIR:
   The place where a Erlang binary. are installed is specified. 
   Usually, although 'include' is used, when installed in a different directory, please
   specify this using this. Usually, you do not need to specify this.

-- 2013-06-11  Nobuhiro Iwamatsu <iwamatsu@debian.org> 
