From 9d794d9f7736ab7ae177aeb69d946f78a00363d2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 9 Nov 2015 14:14:59 +1000 Subject: [PATCH] Revert "Remove protocol/wayland.dtd" This reverts commit 06fb8bd371403d43bc192577abd6b0a0c8b29c59. Having a DTD hooked up gives an indication of what we expect the protocol to be, which is a clearer documentation than the current "whatever scanner.c manages to parse". Signed-off-by: Peter Hutterer Reviewed-by: Pekka Paalanen --- Makefile.am | 4 ++-- protocol/wayland.dtd | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 protocol/wayland.dtd diff --git a/Makefile.am b/Makefile.am index 4c57ecf8..9114d982 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,8 +16,8 @@ dist_aclocal_DATA = wayland-scanner.m4 dist_pkgdata_DATA = \ wayland-scanner.mk \ - protocol/wayland.xml - + protocol/wayland.xml \ + protocol/wayland.dtd pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = diff --git a/protocol/wayland.dtd b/protocol/wayland.dtd new file mode 100644 index 00000000..b8b15731 --- /dev/null +++ b/protocol/wayland.dtd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +