Michael Biebl: > Am 31.05.2017 um 22:23 schrieb Iain Lane: >> On Sat, May 27, 2017 at 12:51:38AM +0200, Michael Biebl wrote: >>> I also note, that usr/share/doc/NetworkManager/examples/server.conf is >>> actually installed via debian/network-manager.examples, which contains: >>> debian/tmp/usr/share/doc/NetworkManager/examples/server.conf >>> >>> I assume dh_installexamples is simply not updated yet to support the new >>> dh_missing functionality? >> >> This also happens with dh_install --list-missing currently[0]. I *guess* >> that this is because dh_install is run first, before all the other >> dh_installfoo commands. So dh_install itself has no way of knowing what >> is about to be installed by other commands. This to me seems unfixable >> without either changing the order (at a compat bump?) or removing >> --{list,fail}-missing and running dh_missing after all the dh_installfoo >> commands. AFAICS they will all need to call log_installed_files for this >> to work properly. > > Right, I don't think this is fixable with the current dh_install and I > was actually thinking of the new dh_missing helper here which indeed > should run "last" i.e. after all other dh_installfoo helpers. > > Michael > > [...]
FTR, dh_missing is run after all (known dh_installX) helpers in the sequence in debhelper 10.3+. By default it does nothing, so you have to override it to pass it --list-missing/--fail-missing. Also, in compat 9, running dh_install with --list-missing/--fail-missing may cause dh to assume that dh_missing has been run. That is a side-effect of how dh keeps track of which commands have been run. Thanks, ~Niels