protocol: validate the protocol against a dtd

The scanner is not very forgiving if the protocol doesn't match it's
expectations and crashes without much of a notice. Thus, validate the protocol
against a DTD.

Move the protocol subdir forward so we validate first before trying anything
else, and install the DTD so we can validate weston's protocols as well.
This commit is contained in:
Peter Hutterer 2013-10-23 14:56:04 +10:00 committed by Kristian Høgsberg
parent 16b2dab4e4
commit 05f95c85c8
4 changed files with 47 additions and 2 deletions

View file

@ -2,7 +2,7 @@ if BUILD_DOCS
doc_subdir = doc
endif
SUBDIRS = src protocol $(doc_subdir) tests cursor
SUBDIRS = protocol src $(doc_subdir) tests cursor
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}