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 ast 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 A file named debian/package.wm (debian/wm may be used for the
19 first binary package in debian/control) can list other window manager to
26 for a list of options common to all debhelper commands.
29 Set the priority of the window manager. Default is 20, which is too low for
30 most window managers; see the Debian Policy document for instructions on
31 calculating the correct value.
34 Do not modify postinst/postrm scripts. Turns this command into a no-op.
37 The filename of the window manager you wish to register.
39 Note that this command will set up postinst and postrm scripts for every
40 package it acts on. It's wise to limit its action to a single package with,
41 for example, the -p switch.
45 for a list of environment variables that affect all debhelper commands.
47 Note that this command is not idempotent. "dh_clean -k" should be called
48 between invocations of this command. Otherwise, it may cause multiple
49 instances of the same text to be added to maintainer scripts.
54 .BR update-alternatives (8)
56 Joey Hess <joeyh@debian.org>