.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_MISSING 1" .TH DH_MISSING 1 2024-03-27 13.15.3 Debhelper .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dh_missing \- check for missing files .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdh_missing\fR [\fB\-X\fR\fIitem\fR] [\fB\-\-sourcedir=\fR\fIdir\fR] [\fIdebhelper\ options\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdh_missing\fR compares the list of installed files with the files in the source directory. If any of the files (and symlinks) in the source directory were not installed to somewhere, it will warn on stderr about that (\fB\-\-list\-missing\fR) or fail (\fB\-\-fail\-missing\fR). .PP Please note that in compat 11 and earlier without either of these options, \fBdh_missing\fR will silently do nothing. In compat 12, \&\fB\-\-list\-missing\fR is the default In compat 13 and later, \&\fB\-\-fail\-missing\fR is the default. .PP This may be useful if you have a large package and want to make sure that you don't miss installing newly added files in new upstream releases. .PP Remember to test different kinds of builds (dpkg-buildpackage \-A/\-B/...) as you may experience varying results when only a subset of the packages are built. .SH FILES .IX Header "FILES" .IP debian/not\-installed 4 .IX Item "debian/not-installed" List the files that are deliberately not installed in \fIany\fR binary package. Paths listed in this file are ignored by \fBdh_missing\fR. However, it is \fBnot\fR a method to exclude files from being installed by any of the debhelper tool. If you want a tool to not install a given file, please use its \fB\-\-exclude\fR option (where available). .Sp \&\fBdh_missing\fR will expand wildcards in this file (since debhelper 11.1). Wildcards without matches will be ignored. .Sp Supports substitution variables in compat 13 and later as documented in \fBdebhelper\fR\|(7). .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-list\-missing\fR 4 .IX Item "--list-missing" Warn on stderr about source files not installed to somewhere. .Sp Note that many dh-tools acting on a path will mark the path as installed even if it has been excluded via \fB\-X\fR or \fB\-\-exclude\fR. This is also seen when a dh-tool is acting on a directory and exclusion is used to ignore some files in the directory. In either case, this will make \fBdh_missing\fR silently assume the excluded files have been handled. .Sp This is the default in compat 12. .IP \fB\-\-fail\-missing\fR 4 .IX Item "--fail-missing" This option is like \fB\-\-list\-missing\fR, except if a file was missed, it will not only list the missing files, but also fail with a nonzero exit code. .Sp This is the default in compat 13 and later. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) .PP This program is a part of debhelper. .SH AUTHOR .IX Header "AUTHOR" Michael Stapelberg