]> git.donarmstrong.com Git - debhelper.git/blob - dh_strip.1
r102: Initial Import
[debhelper.git] / dh_strip.1
1 .TH DH_STRIP 1
2 .SH NAME
3 dh_strip \- strip executables, shared libraries, and some static libraries.
4 .SH SYNOPSIS
5 .B dh_strip
6 .I "[-v] [-a] [-i] [--no-act] [-Ptmpdir] [-ppackage]"
7 .SH "DESCRIPTION"
8 dh_strip is a debhelper program that is responsible for stripping
9 executables, shared libraries, and static libraries that are not used for
10 debugging.
11 .P
12 It assumes that files that have names like lib*_g.a are static libraries
13 used in debugging, and will not strip them.
14 .SH OPTIONS
15 .TP
16 .B \-v, \--verbose
17 Verbose mode; show all commands that modify the package build directory.
18 .TP
19 .B \-a, \--arch
20 Strip files in all architecture dependent packages.
21 .TP
22 .B \-i, \--indep
23 Strip files in all architecture independent packages (likely, this is
24 pointless :-).
25 .TP
26 .B \--no-act
27 Do not really do anything. If used with -v, the result is that this command
28 will output a list of what it would have done.
29 .TP
30 .B \-ppackage, \--package=package
31 Strip files for the package named "package".
32 .TP
33 .B \-Ptmpdir, \--tmpdir=tmpdir
34 Use "tmpdir" for package build directory. 
35 .SH NOTES
36 The
37 .B \-a
38 .B \-i
39 and
40 .B \-p
41 arguments are cumulative. If none are specified, then all packages listed in
42 the control file will have their files stripped.
43 .SH ENVIRONMENT
44 .TP
45 .I DH_VERBOSE
46 Enables verbose mode
47 .TP
48 .I DH_NO_ACT
49 Enables no-act mode (see above).
50 .SH "SEE ALSO"
51 .BR /usr/doc/debhelper/README
52 .SH "CONFORMS TO"
53 Debian policy, version 2.3.0.0
54 .SH AUTHOR
55 Joey Hess <joeyh@master.debian.org>