Control: tags -1 moreinfo Nicolas Boulenguez: > Package: debhelper > Version: 11.1.6 > Severity: wishlist > Tags: patch > > In Dh_Lib.pm, "sub log_installed_files" starts with: > return if $dh{NO_ACT}; > I suggest > return if $dh{NO_ACT} or not @patterns; > instead so that the file is only created if it is useful. > (seen with DEB_BUILD_OPTIONS=nodoc dh_installinfo). >
Those empty files are quite deliberate as dh_missing informs you which tools reported that they would install files. See also "Logging helpers and dh_missing:" in doc/PROGRAMMING, which describes the interface between dh_missing and dh_install* helpers. Thanks, ~Niels