<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 2, 2014 at 1:06 AM, Kristian Høgsberg <span dir="ltr"><<a href="mailto:hoegsberg@gmail.com" target="_blank">hoegsberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, Feb 01, 2014 at 09:39:12PM +0100, Quentin Glidic wrote:<br>
> From: Quentin Glidic <<a href="mailto:sardemff7%2Bgit@sardemff7.net">sardemff7+git@sardemff7.net</a>><br>
><br>
> Signed-off-by: Quentin Glidic <<a href="mailto:sardemff7%2Bgit@sardemff7.net">sardemff7+git@sardemff7.net</a>><br>
> ---<br>
><br>
> v2: Update .gitignore (Thanks Jasper)<br>
<br>
</div>I looked into this and I did have generated .c and .h files in my source<br>
tree that made my out-of-tree builds succeed.  Also, I didn't find a good<br>
way to generate the .c and .h files in the build directories where they are<br>
used.  So let's go with this, now that we've explored alternative<br>
solutions.  I changed the path for generated files to just protocol/ - I<br>
don't want to get to deep paths and I don't see a problem in just having xml<br>
and C code side by side.  Also, the various -I$(top_srcdir)/protocol/src<br>
have to be $(top_builddir), but with that we're back to building again.<br>
<br>
As for make distcheck, that is now failing because we dist the generated<br>
C files, which end up in $(top_srcdir)/protocol/*.[ch], and with the change<br>
to pass -I$(top_builddir)/protocol, we don't see those file and we don't<br>
generate them because they're already in $(top_srcdir)/protocol.  I've fixed<br>
that in a follow-on commit, which marks all the generated files as<br>
nodist_*_SOURCE.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>This sounds like it would break any srcdir != builddir build, like gnome-continuous?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">
Kristian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div></div>