dh_buildinfo(1)

dh_buildinfo1

Register the versions of build-dependencies used to build a package

Usage

dh_buildinfo [debhelper options] [generate] [cat] [install]

Overview

dh_buildinfo is a debhelper program that registers in a file the list of packages declared as build-time dependencies, as well as build-essential packages, together with their versions, as installed in the build machine.

This will hopefully help to track packages (auto-)built with package versions which are known to be buggy, and, more generally, to find out whether a package needs to be rebuilt because of a significant change in a package it has a build-time dependency on.

You will usually just run this in your package's binary rule. If you need extra control over the operation, you can specify the actions to be taken. The default actions are generate install.

Options

generate

Generate the list of versions of the build dependencies in use.

cat

Output the list of versions to stdout.

install

Installs the compressed list of versions to the package's build directory, in /usr/share/doc/package/buildinfo.gz

Releases

5 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9
  3. 10–12

From dh-buildinfo 0.11+nmu2 in Debian 12 (Bookworm). Parsed by carta from the page's man source.