version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DH_MAKESHLIBS |
|
|
2 |
!!!DH_MAKESHLIBS |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
EXAMPLES |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
dh_makeshlibs - automatically create shlibs file |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__dh_makeshlibs__ [[''debhelper options''] |
|
|
19 |
[[__-m__''major''] [[__-V__''[[dependancies]''] |
|
|
20 |
[[__-n__] [[__-X__''item''] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
dh_makeshlibs is a debhelper program that automatically |
|
|
25 |
scans for shared libraries, and generates a shlibs file for |
|
|
26 |
the libraries it finds. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
It also adds a call to ldconfig in the postinst and postrm |
|
|
30 |
scripts (in V3 mode and above only) to any packages which it |
|
|
31 |
finds shared libraries in. |
|
|
32 |
!!OPTIONS |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
__-m__''major'', |
|
|
36 |
__--major=__''major'' |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
Instead of trying to guess the major number of the library |
|
|
40 |
with objdump, use the major number specified after the -m |
|
|
41 |
parameter. This is much less useful than it used to be, back |
|
|
42 |
in the bad old days when this program looked at library |
|
|
43 |
filenames rather than using objdump. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__-V__, __-V__''dependancies'' |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__--version-info__, |
|
|
50 |
__--version-info=__''dependancies'' |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
By default, the shlibs file generated by this program does |
|
|
54 |
not make packages depend on any particular version of the |
|
|
55 |
package containing the shared library. It may be necessary |
|
|
56 |
for you to add some version dependancy information to the |
|
|
57 |
shlibs file. If -V is specified with no dependancy |
|
|
58 |
information, the current version of the package is plugged |
|
|
59 |
into a dependancy that looks like ``packagename ( |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
Beware of using -V without any parameters; this is a |
|
|
63 |
conservative setting that always ensures that other |
|
|
64 |
packages' shared library dependencies are at least as tight |
|
|
65 |
as they need to be, so that if the maintainer screws up then |
|
|
66 |
they won't break. The flip side is that packages might end |
|
|
67 |
up with dependencies that are too tight and so find it |
|
|
68 |
harder to be upgraded. |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
__-n__, __--noscripts__ |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
Do not modify postinst/postrm scripts. |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
__-X__''item'', |
|
|
78 |
__--exclude=__''item'' |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
Exclude files that contain ``item'' anywhere in their |
|
|
82 |
filename from being treated as shared |
|
|
83 |
libraries. |
|
|
84 |
!!EXAMPLES |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
dh_makeshlibs |
|
|
88 |
Assuming this is a package named libfoobar1, generates a shlibs file that looks something like: libfoobar 1 libfoobar1 |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
dh_makeshlibs -V |
|
|
92 |
Assuming the current version of the package is 1.0-3, generates a shlibs file that looks something like: libfoobar 1 libfoobar1 ( |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
dh_makeshlibs -V 'libfoobar1 ( |
|
|
96 |
Generates a shlibs file that looks something like: libfoobar 1 libfoobar1 ( |
|
|
97 |
!!SEE ALSO |
|
|
98 |
|
|
|
99 |
|
|
|
100 |
debhelper(1) |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
This program is a part of debhelper. |
|
|
104 |
!!AUTHOR |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
Joey Hess |
|
|
108 |
---- |