Skip to content

Commit 72768cf

Browse files
ottokcvicentiu
authored andcommitted
Deb: Warn if sources contain a file that is not installed anywhere
1 parent b5edb4c commit 72768cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

debian/rules

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ override_dh_installcron-arch:
177177
get-orig-source:
178178
uscan --force-download --verbose
179179

180+
# If a file is not supposed to be included anywhere, add it to the not-installed
181+
# file and document the reason. Note that dh_install supports the above mentioned
182+
# white list file only starting from Debian Stretch and Ubuntu Xenial.
183+
# To find more, grep build logs for 'but is not installed to anywhere'.
180184
%:
181-
dh $@ --parallel --with dpatch --with systemd
185+
dh $@ --parallel --with dpatch --with systemd --list-missing
182186

183187
# vim: ts=8

0 commit comments

Comments
 (0)