<div dir="ltr">Sorry for the late reply.<div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 1, 2016 at 11:09 AM, Niels Thykier <span dir="ltr"><<a href="mailto:niels@thykier.net" target="_blank">niels@thykier.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Michael Stapelberg:<br>
<span class="">> [+cc Niels, who might have an idea as to how to fix this]<br>
><br>
> Hi Drew,<br>
><br>
> I’m facing the same issue in one of my packages.<br>
><br>
> Drew Parsons <<a href="mailto:dparsons@debian.org">dparsons@debian.org</a>> writes:<br>
>> At the moment dh_install --list-missing complains about any file in<br>
>> debian/tmp not listed in the install file.  This includes manpages,<br>
>> even if they are listed in their own manpages file to be installed by<br>
>> dh_installman.<br>
><br>
> For completeness: this issue also includes documentation pages installed<br>
> by dh_installdocs, and, I assume, any other dh_install* command.<br>
><br>
> The fact that this bug is now almost 10 years old implies that the issue<br>
> is not very easy to fix (or people don’t care).<br>
><br>
> Could we make the dh_install* helpers log the files which they install<br>
> and then move dh_install to the end of the dh sequence so that it can<br>
> read in all of the files which the other helpers installed?<br>
><br>
<br>
</span>Hi,<br>
<br>
I am sympathetic to the end goal.<br>
<br>
The log file approach could work, but in that case we could even defer<br>
it to a separate helper (as it is dh_install is larger than I would like<br>
it).<br></blockquote><div><br></div><div>By “defer it”, what exactly do you mean? Checking for files which were not installed?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  I am happy to assist with creating a patch for this.<br>
<br>
A few recommendations:<br>
 * If the install log is created under debian/.debhelper it is cleaned<br>
   up automatically.  I strongly prefer this for new internal files.<br>
   (Feel free to use "generated_file()" for this purpose)<br>
 * Please create a sub in Dh_Lib for registering installed files, so it<br>
   becomes standardised.<br>
   (Documentation goes in doc/PROGRAMMING)<br></blockquote><div><br></div><div>Looking at dh_installdocs, I see that it shells out to a combination of find+sort+xargs+cp. What’s your recommendation for getting the list of affected files? Would it be best to read the output of find+sort, process it, then shell out to xargs+cp? </div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div></div>