3 dh_makeshlibs \- automatically create shlibs file
6 .I "[-v] [-a] [-i] [--no-act] [-mmajor] [-Ptmpdir] [-ppackage] [-mmajor] [-V[dependancies]]"
8 dh_makeshlibs is a debhelper program that automatically scans for shared
9 libraries, and generates a shlibs file for the libraries it finds.
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.
16 Verbose mode; show all commands that modify the package build directory.
19 Generate shlibs files for all architecture dependent packages.
22 Generate shlibs files for all architecture independent packages.
25 Do not really do anything. If used with -v, the result is that this command
26 will output a list of what it would have done.
28 .B \-ppackage, \--package=package
29 Generate shlibs file for the package named "package".
31 .B \-Ptmpdir, \--tmpdir=tmpdir
32 Use "tmpdir" for package build directory.
34 .B \-mmajor, \--major=major
35 Instead of trying to guess the major number of the library from the filename
36 of the library, use the major number specified after the -m parameter.
38 .B \-V[dependancies], \--version-info, \--version-info=dependancies
39 By default, the shlibs file generated by this program does not make packages
40 depend on any particular version of the package containing the shared
41 library. It may be necessary for you to add some version dependancy
42 information to the shlibs file. If -V is specified with no dependancy
43 information, the current version of the package is plugged into a dependancy
44 that looks like "packagename (>= packageversion)". If -V is specified with
45 parameters, the parameters can be used to specify the exact dependancy
46 information needed (be sure to include the package name).
50 Assuming this is a package named libfoobar1, generates a shlibs file that
52 libfoobar 1 libfoobar1
55 Assuming the current version of the package is 1.0-3, generates a shlibs
56 file that looks something like:
57 libfoobar 1 libfoobar1 (>= 1.0-3)
59 .B dh_makeshlibs \-V "libfoobar1 (>= 1.0)"
60 Generates a shlibs file that looks something like:
61 libfoobar 1 libfoobar1 (>= 1.0)
68 arguments are cumulative. If none are specified, then all packages listed in
69 the control file will be effected.
76 Enables no-act mode (see above).
78 .BR /usr/doc/debhelper/README
80 There is no guarantee that the program will get the shlibs file right. For
81 example, it may not correctly guess the major number of your package. In
82 cases like these (and perhaps in general, just to be safe), it is better to
83 create a debian/shlibs file by hand, or force it to use the correct major
84 number by specifying the -m parameter.
86 This is a "do what I Mean" type program - you have been warned!
88 Joey Hess <joeyh@master.debian.org>