.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35)
.\"
.\" 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
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    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 "2020-03-27" "12.10ubuntu1" "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.  From compat 12 on,
\&\fB\-\-list\-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 and later.
.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.
.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 <stapelberg@debian.org>
