]> git.donarmstrong.com Git - debhelper.git/blob - dh_makeshlibs.1
r412: * Bah, reverted that last change. It isn't useful because
[debhelper.git] / dh_makeshlibs.1
1 .TH DH_MAKESHLIBS 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_makeshlibs \- automatically create shlibs file
4 .SH SYNOPSIS
5 .B dh_makeshlibs
6 .I "[debhelper options] [-mmajor] [-V[dependancies]] [-n]"
7 .SH "DESCRIPTION"
8 dh_makeshlibs is a debhelper program that automatically scans for shared
9 libraries, and generates a shlibs file for the libraries it finds.
10 .P
11 It also adds a call to ldconfig in the postinst and postrm scripts (in
12 DH_COMPAT=3 mode and above only).
13 .SH OPTIONS
14 .TP
15 .B debhelper options
16 See
17 .BR debhelper (1)
18 for a list of options common to all debhelper commands.
19 .TP
20 .B \-mmajor, \--major=major
21 Instead of trying to guess the major number of the library from the filename
22 of the library, use the major number specified after the -m parameter.
23 .TP
24 .B \-V[dependancies], \--version-info, \--version-info=dependancies
25 By default, the shlibs file generated by this program does not make packages
26 depend on any particular version of the package containing the shared
27 library. It may be necessary for you to add some version dependancy
28 information to the shlibs file. If -V is specified with no dependancy
29 information, the current version of the package is plugged into a dependancy
30 that looks like "packagename (>= packageversion)". If -V is specified with
31 parameters, the parameters can be used to specify the exact dependancy
32 information needed (be sure to include the package name).
33 .TP
34 .B \-n, \--noscripts
35 Do not modify postinst/postrm scripts.
36 .SH EXAMPLES
37 .TP
38 .B dh_makeshlibs
39 Assuming this is a package named libfoobar1, generates a shlibs file that
40 looks something like:
41   libfoobar 1 libfoobar1
42 .TP
43 .B dh_makeshlibs \-V
44 Assuming the current version of the package is 1.0-3, generates a shlibs
45 file that looks something like:
46   libfoobar 1 libfoobar1 (>= 1.0-3)
47 .TP
48 .B dh_makeshlibs \-V "'libfoobar1 (>= 1.0)'"
49 Generates a shlibs file that looks something like:
50   libfoobar 1 libfoobar1 (>= 1.0)
51 .SH ENVIRONMENT
52 See
53 .BR debhelper (1)
54 for a list of environment variables that affect all debhelper commands.
55 .SH "SEE ALSO"
56 .BR debhelper (1)
57 .SH BUGS
58 There is no guarantee that the program will get the shlibs file right. For
59 example, it may not correctly guess the major number of your package. In
60 cases like these (and perhaps in general, just to be safe), it is better to
61 create a debian/shlibs file by hand, or force it to use the correct major
62 number by specifying the -m parameter.
63 .P
64 This is a "do what I Mean" type program - you have been warned!
65 .SH AUTHOR
66 Joey Hess <joeyh@debian.org>