diff options
| author | Simon Ser <contact@emersion.fr> | 2020-01-13 19:18:13 +0100 |
|---|---|---|
| committer | Pekka Paalanen <pq@iki.fi> | 2020-01-15 13:26:20 +0000 |
| commit | bfd4362fc2932c08df686945bc4ca276dcff08e4 (patch) | |
| tree | ab8978f4b583da4c5260bfd07aed08c0f1b4696d | |
| parent | meson: use strict wayland-scanner mode (diff) | |
| download | wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar.gz wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar.bz2 wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar.lz wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar.xz wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.tar.zst wayland-bfd4362fc2932c08df686945bc4ca276dcff08e4.zip | |
autotools: use strict wayland-scanner mode
Otherwise an invalid protocol will print warnings to stdout but won't
make the build fail.
Signed-off-by: Simon Ser <contact@emersion.fr>
| -rw-r--r-- | Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 411f2ac..928874c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,22 +98,22 @@ pkgconfig_DATA += src/wayland-client.pc src/wayland-server.pc protocol/%-protocol.c : $(top_srcdir)/protocol/%.xml if USE_HOST_SCANNER - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code $< $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s code $< $@ else - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) public-code $< $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s public-code $< $@ endif protocol/%-server-protocol.h : $(top_srcdir)/protocol/%.xml - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header $< $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s server-header $< $@ protocol/%-client-protocol.h : $(top_srcdir)/protocol/%.xml - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header $< $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s client-header $< $@ protocol/%-server-protocol-core.h : $(top_srcdir)/protocol/%.xml - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header -c < $< > $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s server-header -c < $< > $@ protocol/%-client-protocol-core.h : $(top_srcdir)/protocol/%.xml - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header -c < $< > $@ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s client-header -c < $< > $@ BUILT_SOURCES = \ $(nodist_libwayland_server_la_SOURCES) \ |
