Evas gl: Fix shader generation with out of source builds.
authorTom Hacohen <tom@stosb.com>
Wed, 6 May 2015 17:19:42 +0000 (18:19 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 6 May 2015 17:22:22 +0000 (18:22 +0100)
It's actually still stupid and broken, but at least less. It shouldn't
generate them in source, but out of source, I don't understand how this
even passes distcheck. Actually, my changes might break distcheck
because now it actually does what it says it does, and thus might break
things.

@fix

src/Makefile_Evas.am

index 98419ad8182def6dde501ce8d2f28f4522016797..797b18dd1aada2c488738310aceae3f0de8c7e57 100644 (file)
@@ -667,7 +667,7 @@ EXTRA_lib_evas_libevas_la_DEPENDENCIES = modules/evas/engines/gl_common/shader/e
 
 modules/evas/engines/gl_common/shader/evas_gl_shaders.x: $(GL_SHADERS_GEN)
        @echo "  SHADERS  $@"
-       @bash $(builddir)/modules/evas/engines/gl_common/shader/gen_shaders.sh
+       @bash $(srcdir)/modules/evas/engines/gl_common/shader/gen_shaders.sh
 
 modules/evas/engines/gl_common/shader/evas_gl_enum.x: modules/evas/engines/gl_common/shader/evas_gl_shaders.x