- If your package provides a shared library, you need to create
- a <file>shlibs</file> file following the format described
- above. It is usual to call this
- file <file>debian/shlibs</file> (but if you have multiple
- binary packages, you might want to call
- it <file>debian/<var>package</var>.shlibs</file> instead).
- Then let <file>debian/rules</file> install it in the control
- information file area:
- <example compact="compact">
-install -m644 debian/shlibs debian/tmp/DEBIAN
- </example>
- or, in the case of a multi-binary package:
- <example compact="compact">
-install -m644 debian/<var>package</var>.shlibs debian/<var>package</var>/DEBIAN/shlibs
- </example>
- An alternative way of doing this is to create
- the <file>shlibs</file> file in the control information file
- area directly from <file>debian/rules</file> without using
- a <file>debian/shlibs</file> file at all,<footnote>
+ To provide a <file>shlibs</file> file for a shared library
+ binary package, create a <file>shlibs</file> file following
+ the format described above and place it in
+ the <file>DEBIAN</file> directory for that package during the
+ build. It will then be included as a control file for that
+ package<footnote>