]> git.donarmstrong.com Git - debhelper.git/blob - dh_installwm.1
r388: * Ok, I tihnk we have a db3 fix that will really work now.
[debhelper.git] / dh_installwm.1
1 .TH DH_INSTALLWM 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_installwm \- register a window manager
4 .SH SYNOPSIS
5 .B dh_installwm
6 .I "[debhelper options] [-n] [--priority=n] [wm ...]"
7 .SH "DESCRIPTION"
8 dh_installwm is a debhelper program that is responsible for
9 generating the postinst and postrm commands that register a window manager
10 with
11 .BR update-alternatives (8)
12 .P
13 Any windowmanager filenames specified as parameters will be registered in
14 the first package dh_installwm is told to act on. By default, this is the
15 first binary package in debian/control, but if you use -p, -i, or -a flags, it
16 will be the first package specified by those flags.
17 .P
18 Files named debian/package.wm can list other window managers programs to
19 register.
20 .SH OPTIONS
21 .TP
22 .B debhelper options
23 See
24 .BR debhelper (1)
25 for a list of options common to all debhelper commands.
26 .TP
27 .B \--priority=n
28 Set the priority of the window manager. Default is 20, which is too low for
29 most window managers; see the Debian Policy document for instructions on
30 calculating the correct value.
31 .TP
32 .B \-n, \--noscripts
33 Do not modify postinst/postrm scripts. Turns this command into a no-op.
34 .TP
35 .B wmfilename
36 The filename of the window manager you wish to register.
37 .SH ENVIRONMENT
38 See
39 .BR debhelper (1)
40 for a list of environment variables that affect all debhelper commands.
41 .SH NOTES
42 Note that this command is not idempotent. "dh_clean -k" should be called
43 between invocations of this command. Otherwise, it may cause multiple
44 instances of the same text to be added to maintainer scripts.
45 .SH "SEE ALSO"
46 .TP
47 .BR debhelper (1)
48 .TP
49 .BR update-alternatives (8)
50 .SH AUTHOR
51 Joey Hess <joeyh@debian.org>