<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-04-27 at 15:48 +1000, Peter Hutterer wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Mon, Apr 26, 2010 at 07:12:54PM -0700, Keith Packard wrote:
&gt; On Mon, 26 Apr 2010 11:48:42 -0500, &quot;Yaakov (Cygwin/X)&quot; &lt;<A HREF="mailto:yselkowitz@users.sourceforge.net">yselkowitz@users.sourceforge.net</A>&gt; wrote:
&gt; &gt; Keith,
&gt; &gt; 
&gt; &gt; Please note that the &quot;dmx: Ignore linuxdoc generated docs&quot; patch will 
&gt; &gt; force those running 'make dist' (primarily you and whot) to have a 
&gt; &gt; working linuxdoc installation.  If that requirement is not desirable, 
&gt; &gt; then adding just the .gitignore part of that patch will still be helpful 
&gt; &gt; for those working from git.
&gt; 
&gt; I think that git shouldn't contain any bits generated automatically as a
&gt; part of the usual build process. However, I'd love to know if whot has
&gt; issues with requiring 'linuxdoc' as a part of the 'make distcheck' process.
</PRE>
</BLOCKQUOTE>
<BR>
This patch proposed the removal of the generated .txt from git while preserving the ability to read it under a different extension. <BR>
<A HREF="http://lists.x.org/archives/xorg-devel/2010-February/005566.html">http://lists.x.org/archives/xorg-devel/2010-February/005566.html</A><BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>

no complaints here. If it can be generated, it should be generated,
regardless of the dependencies required (within reason, of course).

</PRE>
</BLOCKQUOTE>
We have been discussing this on the list not too long ago. It has always been required to have the doc toolchain installed in order to run distcheck. This is required as a decision has been made to include some generated files in the tarball because some platforms don't have the tools to generate them and still want to read the doc or install them.<BR>
<BR>
This leads to complex makefiles and behaviours that are not intuitive. When distcheck fails, it is not obvious to understand why either. In the last round of patches, improvements were made protecting the build against missing or down level tools. I am afraid that in a few weeks or months time, we will be discussing this yet another time.<BR>
<BR>
The root cause is simple: not all platforms have the tools to generate the docs. There maybe a solution: unlike executable code, docs do not need to be built on all platforms. A &quot;doc only&quot; tarball could be produced and posted like any other package.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Please document this somewhere on the wiki though, because I'm sure it will
come up at some point as a question on the list :)
</PRE>
</BLOCKQUOTE>
I have documented all the issues in this wiki:
<PRE>
<A HREF="http://www.x.org/wiki/Development/Documentation/WritingDocumentation">http://www.x.org/wiki/Development/Documentation/WritingDocumentation</A>
</PRE>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Cheers,
  Peter
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>