nir: resolve nir.h dependency list (fix make distcheck)
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 7 Feb 2015 19:20:16 +0000 (19:20 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 12 Feb 2015 13:18:52 +0000 (13:18 +0000)
Use nir/nir_opcodes.h as is (w/o the absolute path), as it is the target
name used to generate the actual file. Otherwise the target is missing,
the file won't get generated and the build will fail.

Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/Makefile.am

index e89a9ad5d89fd963f3309bdc5a10d8a4f832b5da..1e4d98fa24eebd899d47104f653afa8957af7936 100644 (file)
@@ -240,7 +240,7 @@ nir/nir_opcodes.h: nir/nir_opcodes.py nir/nir_opcodes_h.py
        $(MKDIR_P) nir;                                                 \
        $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/nir/nir_opcodes_h.py > $@
 
-nir/nir.h: $(top_builddir)/src/glsl/nir/nir_opcodes.h
+nir/nir.h: nir/nir_opcodes.h
 
 nir/nir_opcodes.c: nir/nir_opcodes.py nir/nir_opcodes_c.py
        $(MKDIR_P) nir;                                                 \