Scroll to navigation

DH_CLICK(1) Debhelper DH_CLICK(1)


dh_click - install system hooks for click


dh_click [debhelper options]


dh_click is a debhelper program that is responsible for installing system hooks for click.

It also automatically generates the postinst and postrm commands needed to interface with the Ubuntu click package. These commands are inserted into the maintainer scripts by dh_installdeb(1).


Click package hook files, installed into usr/share/click/hooks/package.hook in the package build directory. See /usr/share/doc/click-doc/html/hooks.html for their format.


Do not modify postinst/postrm scripts.
Install the hook using the filename name instead of the default filename, which is the package name. When this parameter is used, dh_click looks for and installs files named debian/, instead of the usual debian/package.hook.


dh_click is usually called indirectly in a rules file via the dh command.

                dh $@ --with click

You must build-depend on at least debhelper (>= 7.0.8) to use this form, and in any case you must build-depend on click-dev to use this program at all.

It can also be called directly at any time before "dh_installdeb", usually in a binary-arch or binary-indep rule.



This program is a part of click.


Colin Watson <>

Copyright (C) 2013 Canonical Ltd., licensed under the GNU GPL v3.

2022-06-18 0.5.0-8~exp1