build: Stop using xmllint to validate protocol files
The scanner needs to be good enough. If it crashes or fails to report
invalid input, that needs to get fixed.
diff --git a/Makefile.am b/Makefile.am
index f36b85b..e9d8976 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@
-e 's|@libexecdir[@]|$(libexecdir)|g' \
$< > $@
-all-local : weston.ini validate-protocol-xml
+all-local : weston.ini
AM_CFLAGS = $(GCC_CFLAGS)
@@ -892,7 +892,7 @@
tests/text-protocol.c \
tests/text-client-protocol.h
-protocol_sources = \
+EXTRA_DIST += \
protocol/desktop-shell.xml \
protocol/screenshooter.xml \
protocol/xserver.xml \
@@ -904,20 +904,6 @@
protocol/xdg-shell.xml \
protocol/scaler.xml
-if HAVE_XMLLINT
-.PHONY : validate-protocol-xml
-
-.%.xml.valid : $(top_srcdir)/protocol/%.xml
- $(AM_V_GEN)$(XMLLINT) --noout --dtdvalid $(dtddir)/wayland.dtd $^ > $@
-
-validate-protocol-xml : $(protocol_sources:protocol/%.xml=.%.xml.valid)
-
-CLEANFILES += $(protocol_sources:protocol/%.xml=.%.xml.valid)
-EXTRA_DIST += $(protocol_sources)
-
-endif
-
-
man_MANS = weston.1 weston.ini.5
if ENABLE_DRM_COMPOSITOR