Mesa (master): egl: autotools: do not redirect stdin/stdout for wayland-scanner

Emil Velikov evelikov at kemper.freedesktop.org
Mon Mar 12 14:55:02 UTC 2018


Module: Mesa
Branch: master
Commit: 1178e0cf49b0611c8dcf89c829d30d725be5c12a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1178e0cf49b0611c8dcf89c829d30d725be5c12a

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar  8 16:16:18 2018 +0000

egl: autotools: do not redirect stdin/stdout for wayland-scanner

The tool accepts the input and output files as arguments.
There's no need for the redirection.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

---

 src/egl/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
index 9fcee9d2b8..285d3caa9e 100644
--- a/src/egl/Makefile.am
+++ b/src/egl/Makefile.am
@@ -70,11 +70,11 @@ WL_DMABUF_XML = $(WAYLAND_PROTOCOLS_DATADIR)/unstable/linux-dmabuf/linux-dmabuf-
 
 drivers/dri2/linux-dmabuf-unstable-v1-protocol.c: $(WL_DMABUF_XML)
 	$(MKDIR_GEN)
-	$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
 
 drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h: $(WL_DMABUF_XML)
 	$(MKDIR_GEN)
-	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header $< $@
 
 if HAVE_PLATFORM_WAYLAND
 drivers/dri2/linux-dmabuf-unstable-v1-protocol.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h




More information about the mesa-commit mailing list