<div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br><div class="gmail_quote">On 27 July 2016 at 06:02, Dengke Du <span dir="ltr">&lt;<a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>When using &#39;<span>perf</span> help &lt;subcommand&gt;&#39;, it can&#39;t find &#39;man&#39; command and pages for<br>
<span>perf</span>.<br>
The <span>perf</span> man pages depends on the xmlto-native and asciidoc-native, so we just<br>
need to add the two packages to the DEPENDS variable and add &#39;man&#39;to<br>
RDEPENDS_perf-doc.</div></blockquote></div><br>Whilst I like the idea of supporting more documentation, and have long wanted to integrate doxygen/gtk-doc/etc into Yocto for building SDKs with API documentation, I&#39;m not sure we should be making random packages depend on tooling to always generate documentation.</div><div class="gmail_extra"><br></div><div class="gmail_extra">What do people think of a distro feature / global environment variable for &quot;recipe should build the documentation&quot;?  For perf this would mean adding asciidoc so it can build the man pages, for GLib it would mean depending on gtk-doc so the API docs can be generated, and so on.  But if they&#39;re not needed then they can be disabled to improve build speeds.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>