dh_cruft(1)

dh_cruft1

Install cruft files into package build directories

Usage

dh_cruft [debhelper options]

Overview

dh_cruft is a debhelper program that is responsible for installing information files used by cruft(-ng) into package build directories.

Files

debian/package.cruft

Installed into usr/share/cruft/rules/package in the package build directory. This file is used to register runtime files as belonging to this package. For clarity, directories should end with a '/'.

debian/package.purge

Appended to usr/share/cruft/rules/package in the package build directory. This file is used to register runtime files as belonging to this package. For claririty, directories should end with a '/'.

Also, a snippet is appended to postrm with the needed rm -rf commands to remove these files on purge phase.

Some basic templating is implemented: the #VERSION# tag will be replaced by the basic upstream version.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Alexandre Detiste <[email protected]>

From dh-cruft 0.9.71 in Debian 13 (Trixie). Parsed by carta from the page's man source.