]> git.donarmstrong.com Git - debhelper.git/blob - dh_makeshlibs.1
r775: This commit was manufactured by cvs2svn to create tag
[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]]"
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 For this program to work, you cannot have already installed a DEBIAN/shlibs
12 file. If such a file exits, the program will exit with an error.
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 .SH EXAMPLES
34 .TP
35 .B dh_makeshlibs
36 Assuming this is a package named libfoobar1, generates a shlibs file that
37 looks something like:
38   libfoobar 1 libfoobar1
39 .TP
40 .B dh_makeshlibs \-V
41 Assuming the current version of the package is 1.0-3, generates a shlibs
42 file that looks something like:
43   libfoobar 1 libfoobar1 (>= 1.0-3)
44 .TP
45 .B dh_makeshlibs \-V "'libfoobar1 (>= 1.0)'"
46 Generates a shlibs file that looks something like:
47   libfoobar 1 libfoobar1 (>= 1.0)
48 .SH ENVIRONMENT
49 See
50 .BR debhelper (1)
51 for a list of environment variables that affect all debhelper commands.
52 .SH "SEE ALSO"
53 .BR debhelper (1)
54 .SH BUGS
55 There is no guarantee that the program will get the shlibs file right. For
56 example, it may not correctly guess the major number of your package. In
57 cases like these (and perhaps in general, just to be safe), it is better to
58 create a debian/shlibs file by hand, or force it to use the correct major
59 number by specifying the -m parameter.
60 .P
61 This is a "do what I Mean" type program - you have been warned!
62 .SH AUTHOR
63 Joey Hess <joeyh@master.debian.org>