Hlavní navigace

d-shlibmove

NAME

d-shlibmove - Move shared library files around in Debian package creation process

SYNOPSIS

I d-shlibmove [ options ] shared-library.so

DESCRIPTION

Call this program in debian/rules as a replacement of dh_movefiles for shared library packages. It also checks debian/control for validity.

OPTIONS

I --movedev [ filename ] [ relative dir-path ]
Install file into relative directory path within the -dev package. The dir will be created with install -d and the file will be moved.
I --moveshl [ filename ] [ relative dir-path ]
Install file into relative directory path within the shared library runtime package. The dir will be created with install -d and the file will be moved.
I --movedevdoc [ filename ]
Install file into the documentation directory of -dev package. The dir will be created with install -d and the file will be moved. Added in version 0.4
I --extralib [ shared-library.so ]
Install the shared library in the same package as the main shared library.
I --commit
By default d-shlibmove runs in a dry-run mode. Add this flag to make the moving actually happen.
I --suffix [ suffix to add to shared library package ]
Add a suffix to shared library package. This is a workaround when binary interface to package changed, and some fixup to Debian packaging needs to be done. Added in version 0.3
I --devsuffix [ suffix to add to development package ]
Add a suffix to development package. For making incompatible development package.
I --shlibs-local [ current-version ]
Create a debian/shlibs.local file to use, and specify current-version of shared library package. You need to remove debian/shlibs.local, because this only appends to, not overwrite. Added in version 0.3
--c102
Add c102 suffix to package names, for C++ ABI transition. Added in version 0.8
I --override [ override statement ]
Add an overriding sed expression, which looks like R --override s/libshared1-dev/libshared-dev/ . This expression is executed after the other rules. Multiple --override can be specified. Added in version 0.30

EXAMPLES

The following is a sample command-line of a hypothetical package installation. d-shlibmove --commit --movedev debian/tmp/usr/include/* usr/include --extralib debian/tmp/usr/lib/libhomeman-pthread.so debian/tmp/usr/lib/libhomeman.so

AUTHOR

Junichi Uekawa <dancer@debian.org> <dancer@netfort.gr.jp>

SEE ALSO

d-devlibdeps (1)