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