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"><<a href="mailto:lilo0@nm.ru" target="_blank">lilo0@nm.ru</a>></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>
/ configure<br>
make clean<br>
configure/<br>
<br>
Just to be sure nobody missed that.</blockquote><div><br>yup, I'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've
uncovered the major issue you've mentioned. I'll explain the thing here since it'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't be part of 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 && make clean && ./configure<br>./configure && make distclean && ./configure<br>
make distcheck<br><br>for the 2 first, we have nothing to do (thus we don'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'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&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>