OSDN Git Service

wayland-drm: autotools: do not redirect stdin/stdout for wayland-scanner
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 8 Mar 2018 17:07:39 +0000 (17:07 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 12 Mar 2018 14:48:52 +0000 (14:48 +0000)
The tool accepts the input and output files as arguments.
There's no need for the redirection.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/egl/wayland/wayland-drm/Makefile.am

index 7d1db23..c10c434 100644 (file)
@@ -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 $< $@