.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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 turned on, 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_MAKESHLIBS 1" .TH DH_MAKESHLIBS 1 "2016-12-07" "10.2.5~bpo8+1" "Debhelper" .\" 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_makeshlibs \- automatically create shlibs file and call dpkg\-gensymbols .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_makeshlibs\fR [\fIdebhelperĀ options\fR] [\fB\-m\fR\fImajor\fR] [\fB\-V\fR\fI[dependencies]\fR] [\fB\-n\fR] [\fB\-X\fR\fIitem\fR] [\fB\-\-\fRĀ \fIparams\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBdh_makeshlibs\fR is a debhelper program that automatically scans for shared libraries, and generates a shlibs file for the libraries it finds. .PP It will also ensure that ldconfig is invoked during install and removal when it finds shared libraries. Since debhelper 9.20151004, this is done via a dpkg trigger. In older versions of debhelper, \fBdh_makeshlibs\fR would generate a maintainer script for this purpose. .SH "FILES" .IX Header "FILES" .IP "debian/\fIpackage\fR.shlibs" 4 .IX Item "debian/package.shlibs" Installs this file, if present, into the package as DEBIAN/shlibs. If omitted, debhelper will generate a shlibs file automatically if it detects any libraries. .Sp Note in compat levels 9 and earlier, this file was installed by \&\fIdh_installdeb\fR\|(1) rather than \fBdh_makeshlibs\fR. .IP "debian/\fIpackage\fR.symbols" 4 .IX Item "debian/package.symbols" .PD 0 .IP "debian/\fIpackage\fR.symbols.\fIarch\fR" 4 .IX Item "debian/package.symbols.arch" .PD These symbols files, if present, are passed to \fIdpkg\-gensymbols\fR\|(1) to be processed and installed. Use the \fIarch\fR specific names if you need to provide different symbols files for different architectures. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-m\fR\fImajor\fR, \fB\-\-major=\fR\fImajor\fR" 4 .IX Item "-mmajor, --major=major" Instead of trying to guess the major number of the library with objdump, use the major number specified after the \-m parameter. This is much less useful than it used to be, back in the bad old days when this program looked at library filenames rather than using objdump. .IP "\fB\-V\fR, \fB\-V\fR\fIdependencies\fR" 4 .IX Item "-V, -Vdependencies" .PD 0 .IP "\fB\-\-version\-info\fR, \fB\-\-version\-info=\fR\fIdependencies\fR" 4 .IX Item "--version-info, --version-info=dependencies" .PD By default, the shlibs file generated by this program does not make packages depend on any particular version of the package containing the shared library. It may be necessary for you to add some version dependency information to the shlibs file. If \fB\-V\fR is specified with no dependency information, the current upstream version of the package is plugged into a dependency that looks like "\fIpackagename\fR \fB(>\fR= \fIpackageversion\fR\fB)\fR". Note that in debhelper compatibility levels before v4, the Debian part of the package version number is also included. If \fB\-V\fR is specified with parameters, the parameters can be used to specify the exact dependency information needed (be sure to include the package name). .Sp Beware of using \fB\-V\fR without any parameters; this is a conservative setting that always ensures that other packages' shared library dependencies are at least as tight as they need to be (unless your library is prone to changing \&\s-1ABI\s0 without updating the upstream version number), so that if the maintainer screws up then they won't break. The flip side is that packages might end up with dependencies that are too tight and so find it harder to be upgraded. .IP "\fB\-n\fR, \fB\-\-no\-scripts\fR" 4 .IX Item "-n, --no-scripts" Do not add the \*(L"ldconfig\*(R" trigger even if it seems like the package might need it. The option is called \fB\-\-no\-scripts\fR for historical reasons as \fBdh_makeshlibs\fR would previously generate maintainer scripts that called \fBldconfig\fR. .IP "\fB\-X\fR\fIitem\fR, \fB\-\-exclude=\fR\fIitem\fR" 4 .IX Item "-Xitem, --exclude=item" Exclude files that contain \fIitem\fR anywhere in their filename or directory from being treated as shared libraries. .IP "\fB\-\-add\-udeb=\fR\fIudeb\fR" 4 .IX Item "--add-udeb=udeb" Create an additional line for udebs in the shlibs file and use \fIudeb\fR as the package name for udebs to depend on instead of the regular library package. .IP "\fB\-\-\fR \fIparams\fR" 4 .IX Item "-- params" Pass \fIparams\fR to \fIdpkg\-gensymbols\fR\|(1). .SH "EXAMPLES" .IX Header "EXAMPLES" .IP "\fBdh_makeshlibs\fR" 4 .IX Item "dh_makeshlibs" Assuming this is a package named \fIlibfoobar1\fR, generates a shlibs file that looks something like: libfoobar 1 libfoobar1 .IP "\fBdh_makeshlibs \-V\fR" 4 .IX Item "dh_makeshlibs -V" Assuming the current version of the package is 1.1\-3, generates a shlibs file that looks something like: libfoobar 1 libfoobar1 (>= 1.1) .IP "\fBdh_makeshlibs \-V 'libfoobar1 (>= 1.0)'\fR" 4 .IX Item "dh_makeshlibs -V 'libfoobar1 (>= 1.0)'" Generates a shlibs file that looks something like: libfoobar 1 libfoobar1 (>= 1.0) .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of debhelper. .SH "AUTHOR" .IX Header "AUTHOR" Joey Hess