[debhelper-devel] [debhelper] 01/03: dh_install: Mark --(list|fail)-missing as deprecated
Niels Thykier
nthykier at moszumanska.debian.org
Mon Apr 3 10:32:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch bug-415396-dh_missing
in repository debhelper.
commit 7f3d978988c9ccfac69f298aa38bed956f1aa18c
Author: Niels Thykier <niels at thykier.net>
Date: Mon Apr 3 10:31:09 2017 +0000
dh_install: Mark --(list|fail)-missing as deprecated
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_install | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dh_install b/dh_install
index f4c4e76..c47db93 100755
--- a/dh_install
+++ b/dh_install
@@ -74,6 +74,8 @@ this file.
=item B<--list-missing>
+B<Deprecated>: Please use B<dh_missing --list-missing> instead.
+
This option makes B<dh_install> keep track of the files it installs, and then at
the end, compare that list with the files in the source directory. If any of
the files (and symlinks) in the source directory were not installed to
@@ -87,6 +89,8 @@ warned about.
=item B<--fail-missing>
+B<Deprecated>: Please use B<dh_missing --fail-missing> instead.
+
This option is like B<--list-missing>, except if a file was missed, it will
not only list the missing files, but also fail with a nonzero exit code.
@@ -138,6 +142,10 @@ $srcdir = $dh{SOURCEDIR} if defined $dh{SOURCEDIR};
my $missing_files = 0;
+if ($dh{LIST_MISSING} || $dh{FAIL_MISSING}) {
+ deprecated_functionality('Please use dh_missing --list-missing/--fail-missing instead', 11);
+}
+
# PROMISE: DH NOOP WITHOUT install
foreach my $package (getpackages()) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list