dh_installwm - register a window manager
dh_installwm [debhelper options] [-n] [--priority=n] [wm ...]
dh_installwm is a debhelper program that is responsible for generating the postinst and postrm commands that register a window manager with update-alternatives(8). The window manager's man page is also registered as a slave symlink (in v6 mode and up), if it is found in usr/share/man/man1/ in the package build directory.
Any window manager programs specified as parameters will be registered in the first package dh_installwm is told to act 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.
Files named debian/package.wm can list other window manager programs to register.
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts.
This program is a part of debhelper.
Joey Hess <firstname.lastname@example.org>