Hey Alexey,<br><br>I just realized that you sent this mail privately!<br><br><div class="gmail_quote">2009/2/5 Alexey Rytchkov <span dir="ltr">&lt;<a href="mailto:lilo0@nm.ru" target="_blank">lilo0@nm.ru</a>&gt;</span><br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
It seems /make clean/ do extra work when it removes scripts/hal/<a href="http://ups-nut-device.fdi.in" target="_blank">ups-nut-device.fdi.in</a> and scripts/udev/<a href="http://nut-usbups.rules.in" target="_blank">nut-usbups.rules.in</a>.<br>





Configure fails not finding this files.<br>
Your can reproduce that by<br>
/ &nbsp; &nbsp;configure<br>
 &nbsp; make clean<br>
 &nbsp; configure/<br>
<br>
Just to be sure nobody missed that.</blockquote><div><br>yup, I&#39;ve faced it when updating debs...<br>that reminds me that my mail announcing that is still in my draft box.<br></div></div><br>well, following the 2.4.0 release, and some Debian packaging update, I&#39;ve
uncovered the major issue you&#39;ve mentioned. I&#39;ll explain the thing here since it&#39;s an issue that I thought was addressed...<br><br>the current make rules for the USB files are bad.<br>these generated files shouldn&#39;t be part of&nbsp;MOSTLYCLEANFILES<code></code>, nor any *CLEANFILES target.<br>

the thing is that when we generate these files, we overwrite existing ones.<br>so we have to address more finely the issue and the following cases:<br>./configure &amp;&amp; make clean &amp;&amp; ./configure<br>./configure &amp;&amp; make distclean &amp;&amp; ./configure<br>

make distcheck<br><br>for the 2 first, we have nothing to do (thus we don&#39;t list these files in *CLEANFILES).<br>for the latter, we have to clean these 3 remaining files.<br>for that, we need to use distcleancheck_listfiles, ie:<br>

<a href="http://www.gnu.org/software/automake/manual/html_node/Dist.html#Dist" target="_blank">http://www.gnu.org/software/automake/manual/html_node/Dist.html#Dist</a><br>see ยง14.4<br><br>I&#39;ve just commited that to the trunk, and it will be part of 2.4.1 (out by next monday)<br>

<br>thanks again Alexey.<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>

Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://people.debian.org/%7Eaquette/" target="_blank">http://people.debian.org/~aquette/</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>



<br>