<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/6/28 Ross Burton <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The rules were writing files to e.g. util/u_indices_gen.py, but in an<br>
out-of-tree build this directory doesn't exist in the build directory.  So,<br>
create the directories just in case.<br>
<br>
Note: This patch is a candidate for the 9.0 and 9.1 branches.<br></blockquote><div><br>I think you can drop 9.0, since gallium was converted to Automake in mesa 9.1.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br>
Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>><br>
---<br>
 src/gallium/auxiliary/Makefile.am |    4 ++++<br>
 1 file changed, 4 insertions(+)<br>
<br>
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am<br>
index f14279b..0c3e7ba 100644<br>
--- a/src/gallium/auxiliary/Makefile.am<br>
+++ b/src/gallium/auxiliary/Makefile.am<br>
@@ -38,13 +38,17 @@ libgallium_la_SOURCES += \<br>
 endif<br>
<br>
 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py<br>
+       mkdir --parents indices<br></blockquote><div><br></div><div>Please use the autoconf variable $(MKDIR_P) instead of mkdir --parents.<br><br>With these changes:<br>Reviewed-by: Andreas Boll <<a href="mailto:andreas.boll.dev@gmail.com">andreas.boll.dev@gmail.com</a>><br>
 <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        $(AM_V_GEN) $(PYTHON2) $< > $@<br>
<br>
 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py<br>
+       mkdir --parents indices<br>
        $(AM_V_GEN) $(PYTHON2) $< > $@<br>
<br>
 util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py<br>
+       mkdir --parents util<br>
        $(AM_V_GEN) $(PYTHON2) $< > $@<br>
<br>
 util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv<br>
+       mkdir --parents util<br>
        $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@<br>
<span class=""><font color="#888888">--<br>
1.7.10.4<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>