1DH_MISSING(1)                      Debhelper                     DH_MISSING(1)
2
3
4

NAME

6       dh_missing - check for missing files
7

SYNOPSIS

9       dh_missing [-Xitem] [--sourcedir=dir] [debhelperĀ options]
10

DESCRIPTION

12       dh_missing compares the list of installed files with the files in the
13       source directory. If any of the files (and symlinks) in the source
14       directory were not installed to somewhere, it will warn on stderr about
15       that (--list-missing) or fail (--fail-missing).
16
17       Please note that in compat 11 and earlier without either of these
18       options, dh_missing will silently do nothing.  From compat 12 on,
19       --list-missing is the default.
20
21       This may be useful if you have a large package and want to make sure
22       that you don't miss installing newly added files in new upstream
23       releases.
24
25       Remember to test different kinds of builds (dpkg-buildpackage
26       -A/-B/...) as you may experience varying results when only a subset of
27       the packages are built.
28

FILES

30       debian/not-installed
31           List the files that are deliberately not installed in any binary
32           package.  Paths listed in this file are ignored by dh_missing.
33           However, it is not a method to exclude files from being installed
34           by any of the debhelper tool.  If you want a tool to not install a
35           given file, please use its --exclude option (where available).
36
37           dh_missing will expand wildcards in this file (since debhelper
38           11.1).  Wildcards without matches will be ignored.
39

OPTIONS

41       --list-missing
42           Warn on stderr about source files not installed to somewhere.
43
44           Note that many dh-tools acting on a path will mark the path as
45           installed even if it has been excluded via -X or --exclude.  This
46           is also seen when a dh-tool is acting on a directory and exclusion
47           is used to ignore some files in the directory.  In either case,
48           this will make dh_missing silently assume the excluded files have
49           been handled.
50
51           This is the default in compat 12 and later.
52
53       --fail-missing
54           This option is like --list-missing, except if a file was missed, it
55           will not only list the missing files, but also fail with a nonzero
56           exit code.
57

SEE ALSO

59       debhelper(7)
60
61       This program is a part of debhelper.
62

AUTHOR

64       Michael Stapelberg <stapelberg@debian.org>
65
66
67
6812.7.3                            2020-01-28                     DH_MISSING(1)
Impressum