DOKK / manpages / debian 12 / dh-cruft / dh_cruft.1.en
DH_CRUFT(1) User Contributed Perl Documentation DH_CRUFT(1)

dh_cruft - install cruft files into package build directories

dh_cruft [debhelper options]

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

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 claririty, directories should end with a '/'.
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.

debhelper(1)

This program is a part of debhelper.

cruft(1)

Alexandre Detiste <alexandre.detiste@gmail.com>

2023-02-19 perl v5.36.0