Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

d-shlibmove(1) [debian man page]

d-shlibmove(1)							  d-shlibs manual						    d-shlibmove(1)

NAME
d-shlibmove - Move shared library files around in Debian package creation process SYNOPSIS
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
--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. --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. --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 --extralib [shared-library.so] Install the shared library in the same package as the main shared library. --multiarch By default d-shlibmove installs the shared library and any extralibs into /usr/lib. Add this flag to install them into /usr/lib/<architecture-tripplet> instead. Added in version 0.48 --commit By default d-shlibmove runs in a dry-run mode. Add this flag to make the moving actually happen. --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 --devsuffix [suffix to add to development package] Add a suffix to development package. For making incompatible development package. --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 --devunversioned Install into unversioned development package. Added in version 0.42 --ignorelibdep Suppress shlib dependency. Useful when dynamically resolved e.g. using CDBS. Added in version 0.42 --c102 Add c102 suffix to package names, for C++ ABI transition. Added in version 0.8 --ldbl Add dbl suffix to package names. Added in version 0.35 --include-a Install the *.a files. This is the default behavior. Added in version 0.51 --exclude-a Avoid installing *.a files. Added in version 0.51 --include-la Install the *.la files. This is the default behavior. Added in version 0.45 --exclude-la Avoid installing *.la files. Added in version 0.45 --override [override statement] Add an overriding sed expression, which looks like --override s/libshared1-dev/libshared-dev/. This expression is executed after the other rules. Multiple --override can be specified. Added in version 0.30 EXIT CODE
Return 1 on error. Return 2 on dry-run. Return 0 on success. 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) Debian GNU/Linux 2002 May 3 d-shlibmove(1)

Check Out this Related Man Page

DH_MOVEFILES(1) 						     Debhelper							   DH_MOVEFILES(1)

NAME
       dh_movefiles - move files out of debian/tmp into subpackages

SYNOPSIS
       dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] [file...]

DESCRIPTION
       dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
       build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
       up into subpackages.

       Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.

FILES
       debian/package.files
	   Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
	   also list directory names, and the whole directory will be moved.

OPTIONS
       --sourcedir=dir
	   Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
	   contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
	   be a relative filename; it cannot begin with a `/'.

       -Xitem, --exclude=item
	   Exclude files that contain item anywhere in their filename from being installed.

       file ...
	   Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
	   will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.

NOTES
       Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
       than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
       told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
       ignored, and get deleted by dh_clean later.

SEE ALSO
       debhelper(7)

       This program is a part of debhelper.

AUTHOR
       Joey Hess <joeyh@debian.org>

11.1.6ubuntu2							    2018-05-10							   DH_MOVEFILES(1)
Man Page