<br><div class="gmail_quote">2010/11/5 Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Bdevel@de-korte.org">nut+devel@de-korte.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Citeren Charles Lepple &lt;<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>&gt;:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Log:<br>
Add checking minimum required version for AsciiDoc tools<br>
</blockquote>
<br>
I noticed that somewhere around this commit, the documentation stopped being built by default in BuildBot.<br>
<br>
Before I go digging too far, should I just add &quot;--with-doc=auto&quot; to the configure parameters, or should that eventually be included in the &quot;--with-all=auto&quot; settings?<br>
</blockquote>
<br></div>
We already have &#39;--with-doc=auto&#39; on the configure commandline, so this isn&#39;t needed. Howevere, there seems to be a problem interpreting the versions returned by the AsciiDoc tools (from the r2672 Debian-etch build, similar for the other buildbots):<br>

<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
checking for asciidoc... /usr/local/bin/asciidoc<br>
checking for asciiDoc version (8.6.3 minimum required)... asciidoc 8.6.3 found<br>
</blockquote>
<br>
Here it works as expected. Even though the version string we&#39;re comparing against is &#39;asciidoc 8.6.3&#39;, the AX_COMPARE_VERSION macro seems to understand it should skip the initial non-numerals.<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
checking for a2x... /usr/local/bin/a2x<br>
checking for a2x version (8.6.1 minimum required)... a2x 8.6.1 is too old<br>
</blockquote>
<br>
Oops. The above causes the &#39;nut_have_asciidoc&#39; variable to be set to &#39;no&#39;, which means that the prerequisites for building the documentation are not met and it will not be build regardless of any configure setting.<br>

<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
checking for dblatex... /usr/bin/dblatex<br>
checking for dblatex version... dblatex version 0.2-2 found<br>
</blockquote>
<br>
Here we only report the version (nothing more) so this isn&#39;t a problem.<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
checking whether to build and install documentation... no<br>
</blockquote>
<br>
And finally, the decision is made not to build the documentation. Most likely we&#39;ll need to strip the initial part of the return from the &#39;a2x 8.6.1&#39; version string, since that will probably be treated as &#39;2.8.6.1&#39; now (it works when I lower the requirement to 1.0.0). I&#39;ll see what I can do...<br>
</blockquote></div><br>indeed, asciidoc / a2x return the version in the form &quot;&lt;appname&gt; &lt;version&gt;&quot;, which implies that we have to strip the &lt;appname&gt; part. that&#39;s also why I&#39;ve only made a comment on the requirement, and not implemented it, along with the fact that we actually require the not yet published 8.6.3 (to fix various issues, like the chunked HTML generation), and that BB slaves only provide 8.6.1 at most.<br>
<br>btw, do you want me to ask Stuart to remove the &lt;appname&gt; part, of to provide a &quot;value only&quot; version?<br><br>cheers,<br clear="all">Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</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://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>