<div dir="ltr">ack<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 19, 2014 at 4:30 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The rules to generate the .c/.h (de)marshalling files have targets based in<br>
$builddir, but the CLIENT_MARSHALLERS/SERVER_MARSHALLERS list refer to<br>
files in $srcdir.<br>
When using a $srcdir != $builddir, these $srcdir files will not exist, and<br>
it will not be possible to generate them, which causes the build to fail.<br>
<br>
When using $srcdir == $builddir from git or from tarballs, this will not<br>
make a difference. When building from git, if $srcdir and $builddir are the<br>
same, then the files will be found regardless of if we look for them in<br>
$srcdir or $builddir as they are the same.<br>
In tarballs, the files will be shipped with the tarball and thus available<br>
in $srcdir. As $builddir is the same as $srcdir, the files will already<br>
exist and not be regenerated.<br>
<br>
The only change of behaviour will be when using a tarball and doing a<br>
$srcdir != $builddir build. In this case, the files will need to be<br>
regenerated, so the tools needed for that must be installed on the<br>
machine doing the build.<br>
---<br>
 common/Makefile.am | 18 +++++++++---------<br>
 1 file changed, 9 insertions(+), 9 deletions(-)<br>
<br>
diff --git a/common/Makefile.am b/common/Makefile.am<br>
index 73703fc..f985057 100644<br>
--- a/common/Makefile.am<br>
+++ b/common/Makefile.am<br>
@@ -1,17 +1,17 @@<br>
 NULL =<br>
<br>
 # Avoid need for python(pyparsing) by end users<br>
-CLIENT_MARSHALLERS =                                   \<br>
-       $(srcdir)/generated_client_demarshallers.c      \<br>
-       $(srcdir)/generated_client_demarshallers1.c     \<br>
-       $(srcdir)/generated_client_marshallers.c        \<br>
-       $(srcdir)/generated_client_marshallers1.c       \<br>
+CLIENT_MARSHALLERS =                           \<br>
+       generated_client_demarshallers.c        \<br>
+       generated_client_demarshallers1.c       \<br>
+       generated_client_marshallers.c          \<br>
+       generated_client_marshallers1.c         \<br>
        $(NULL)<br>
<br>
-SERVER_MARSHALLERS =                                   \<br>
-       $(srcdir)/generated_server_demarshallers.c      \<br>
-       $(srcdir)/generated_server_marshallers.c        \<br>
-       $(srcdir)/generated_server_marshallers.h        \<br>
+SERVER_MARSHALLERS =                           \<br>
+       generated_server_demarshallers.c        \<br>
+       generated_server_marshallers.c          \<br>
+       generated_server_marshallers.h          \<br>
        $(NULL)<br>
<br>
 BUILT_SOURCES = $(CLIENT_MARSHALLERS) $(SERVER_MARSHALLERS) $(top_srcdir)/spice-protocol/spice/enums.h<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.5.3<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>