DH_ASTERISK(1)

NAME
dh_asterisk - Add dependency on the ABI version of Asterisk

SYNOPSIS
dh_asterisk [debhelper options]

DESCRIPTION
dh_asterisk is a debhelper program that is responsible for correctly setting the dependency on asterisk-abi-asterisk-ABI-version for a package.

When writing a package that builds an Asterisk module and is not built with Asterisk itself (and hence depends on the exact binary version), add ${asterisk:Depends} to the package's Depends: field in debian control and run dh_asterisk.

A debhelper addon is also provided. This makes it possible to just use

  #!/usr/bin/make -f
  %:
          dh $@ --with asterisk

for debian/rules.

Alternatively, you can just build-depend on dh-sequence-asterisk and omit the "--with asterisk" part.

SEE ALSO
debhelper(7)

This program is part of the Debian Asterisk package.

asterisk(8)

AUTHOR
Tzafrir Cohen <tzafrir@debian.org>

Jonas Smedegaard <dr@jones.dk>

COPYRIGHT AND LICENSE
Copyright 2022, Jonas Smedegaard <dr@jones.dk>

This packaging is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.