---
name: "dh_click"
section: "1"
platform: "linux"
package: "click-dev"
version: "0.5.2-8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_click"
---

# dh\_click(1)

install system hooks for click

## NAME

dh\_click - install system hooks for click

## SYNOPSIS

**dh\_click** \[**debhelper options**\]

## DESCRIPTION

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)](/dh_installdeb/1.md).

## FILES

- debian/*package*.click-hook

  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.

## OPTIONS

- **-n**, **--noscripts**

  Do not modify *postinst*/*postrm* scripts.

- **--name=***name*

  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/package.name.hook*, instead of the usual *debian/package.hook*.

## EXAMPLES

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.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

This program is a part of click.

## AUTHOR

Colin Watson \<cjwatson@ubuntu.com\>

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