Calculates erlang dependencies
erlang-depends [debhelper options]
erlang-depends is a debhelper-like program that is responsible for generating the substitution variables for Erlang-dependent packages.
The most useful variable is ${erlang:Depends}. It expands into the list of Erlang packages which modules are used in the building package. It was introduced in version 1:13.b.1-dfsg-3 of erlang-dev package.
Also, ${erlang-abi:Depends} substitution adds current erlang \s-1ABI\s0 virtual package to substvar files. It is useful if your package uses C-based extensions which may break in case of \s-1ABI\s0 changes. It was introduced in version 1:11.b.4-4 of erlang-dev package.
If you want to fine tune your package dependencies then you may want to use substvars for all Erlang packages you need. Currently they are: ${erlang-base:Depends}, ${erlang-dev:Depends}, ${erlang-asn1:Depends}, ${erlang-common-test:Depends}, ${erlang-corba:Depends}, ${erlang-crypto:Depends}, ${erlang-debugger:Depends}, ${erlang-dialyzer:Depends}, ${erlang-edoc:Depends}, ${erlang-eldap:Depends}, ${erlang-et:Depends}, ${erlang-eunit:Depends}, ${erlang-gs:Depends}, ${erlang-ic:Depends}, ${erlang-inets:Depends}, ${erlang-megaco:Depends}, ${erlang-mnesia:Depends}, ${erlang-observer:Depends}, ${erlang-odbc:Depends}, ${erlang-os-mon:Depends}, ${erlang-parsetools:Depends}, ${erlang-percept:Depends}, ${erlang-public-key:Depends}, ${erlang-reltool:Depends}, ${erlang-runtime-tools:Depends}, ${erlang-snmp:Depends}, ${erlang-ssh:Depends}, ${erlang-ssl:Depends}, ${erlang-syntax-tools:Depends}, ${erlang-test-server:Depends}, ${erlang-tools:Depends}, ${erlang-typer:Depends}, ${erlang-webtool:Depends}, ${erlang-wx:Depends}, ${erlang-xmerl:Depends}.
All variables except ${erlang-eldap:Depends}, ${erlang-base:Depends} and ${erlang-dev:Depends} were introduced in version 1:13.b-dfsg-2 of erlang-dev package.
Variable ${erlang-eldap:Depends} was added in version 1:15.b.1-dfsg-1 of erlang-dev package because the new eldap application was included to the Erlang distribution.
Variable ${erlang-docbuilder:Depends} was dropped in version 1:15.b-dfsg-1 of erlang-dev package because the docbuilder application was removed from the Erlang distribution.
Variable ${erlang-inviso:Depends} was dropped in version 1:16.b.1-dfsg-4 of erlang-dev package because the inviso application was removed from the Erlang distribution.
Variable ${erlang-appmon:Depends} was dropped in version 1:17.0-dfsg-3 of erlang-dev package because the appmon application was removed from the Erlang distribution.
Variables ${erlang-pman:Depends}, ${erlang-toolbar:Depends}, ${erlang-tv:Depends} were dropped in version 1:17.3-dfsg-2 of erlang-dev package because the pman, toolbar and tv applications were removed from the Erlang distribution.
For compatibility with older versions the variables ${erlang-nox:Depends} and ${erlang-x11:Depends} also work (even since the corresponding packages turned into dummy packages).
If you use this program, your package must build-depend on erlang-dev (>= 1:13.b-dfsg-2). If you want your package to use automatic calculation of dependencies then it must build-depend on erlang-dev (>= 1:13.b.1-dfsg-3).
Verbose mode.
Act on all architecture dependent packages.
Act on all architecture independent packages.
Act on the package named \*(L"package\*(R". This option may be specified multiple times.
Do not act on the specified package even if an -a, -i, or -p option lists the package as one that should be acted on.
Ignore the specified file.
Use \*(L"tmpdir\*(R" for package build directory. The default is debian/<package>
debhelper\|(7)
This program is not part of debhelper.
Torsten Werner <[email protected]> initially wrote it in Perl, Sergei Golovan <[email protected]> rewrote in Erlang (started from 1:13.b.1-dfsg-3).