.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_ASTERISK 1" .TH DH_ASTERISK 1 2024-01-30 "asterisk 20.6.0~dfsg+~cs6.13.40431414-2" "Asterisk packaging helper tools" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dh_asterisk \- Add dependency on the ABI version of Asterisk .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdh_asterisk\fR [\fIdebhelper\ options\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" dh_asterisk is a debhelper program that is responsible for correctly setting the dependency on asterisk\-abi\-\fIasterisk-ABI-version\fR for a package. .PP 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. .PP A debhelper addon is also provided. This makes it possible to just use .PP .Vb 3 \& #!/usr/bin/make \-f \& %: \& dh $@ \-\-with asterisk .Ve .PP for \fIdebian/rules\fR. .PP Alternatively, you can just build-depend on \fBdh-sequence-asterisk\fR and omit the \f(CW\*(C`\-\-with asterisk\*(C'\fR part. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) .PP This program is part of the Debian Asterisk package. .PP \&\fBasterisk\fR\|(8) .SH AUTHOR .IX Header "AUTHOR" Tzafrir Cohen .PP Jonas Smedegaard .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright 2022, Jonas Smedegaard .PP 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.