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

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


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

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar  8 17:07:39 2018 +0000

wayland-drm: 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/wayland/wayland-drm/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am
index 7d1db23f4b..c10c4349d4 100644
--- a/src/egl/wayland/wayland-drm/Makefile.am
+++ b/src/egl/wayland/wayland-drm/Makefile.am
@@ -18,10 +18,10 @@ BUILT_SOURCES = wayland-drm-protocol.c \
 CLEANFILES = $(BUILT_SOURCES)
 
 %-protocol.c : %.xml
-	$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
 
 %-server-protocol.h : %.xml
-	$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) server-header $< $@
 
 %-client-protocol.h : %.xml
-	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header $< $@




More information about the mesa-commit mailing list