File: README

package info (click to toggle)
dh-rebar 0.0.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 72 kB
  • ctags: 11
  • sloc: makefile: 161; perl: 45
file content (55 lines) | stat: -rw-r--r-- 1,884 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
* What's this?

 This is debhelper support tool of the build tool rebar used by Erlang.
 This provides Buildsystem and Sequence of rebar, and dh_rebar program.

* 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 
  -----

 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>