carta
dh_strip_nondeterminism(1p)

dh_strip_nondeterminism1p

Strip uninteresting, nondeterministic information from files

Usage

dh_strip_nondeterminism [debhelper options] [-Xitem]

Overview

dh_strip_nondeterminism is a debhelper program that is responsible for stripping uninteresting, nondeterministic information, such as timestamps, from compiled files so that the build is reproducible.

This program examines your package build directories and works out what to strip on its own. It uses file(1) and filenames to figure out what files should have nondeterminism stripped from them. In general it seems to make very good guesses, and will do the right thing in almost all cases.

Options

-Xitem, --exclude=item

Exclude files that contain item anywhere in their filename from being stripped. You may use this option multiple times to build up a list of things to exclude.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)