1 .TH DH_INSTALLWM 1 "" "Debhelper Commands" "Debhelper Commands"
3 dh_installwm \- register a window manager
6 .I "[debhelper options] [-n] [--priority=n] [wm ...]"
8 dh_installwm is a debhelper program that is responsible for
9 generating the postinst and postrm commands that register a window manager
11 .BR update-alternatives (8)
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.
18 Files named debian/package.wm can list other window managers programs to
25 for a list of options common to all debhelper commands.
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.
33 Do not modify postinst/postrm scripts. Turns this command into a no-op.
36 The filename of the window manager you wish to register.
40 for a list of environment variables that affect all debhelper commands.
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.
49 .BR update-alternatives (8)
51 Joey Hess <joeyh@debian.org>