build: Move protocol/Makefile.am into toplevel Makefile.am

This commit is contained in:
Kristian Høgsberg
2014-01-27 22:26:29 -08:00
parent 058bd32620
commit f9bc6f63fb
3 changed files with 28 additions and 29 deletions
-26
View File
@@ -1,26 +0,0 @@
protocol_sources = \
desktop-shell.xml \
screenshooter.xml \
xserver.xml \
text.xml \
input-method.xml \
workspaces.xml \
text-cursor-position.xml \
wayland-test.xml \
xdg-shell.xml \
scaler.xml
if HAVE_XMLLINT
.PHONY: validate
.%.xml.valid: %.xml
$(AM_V_GEN)$(XMLLINT) --noout --dtdvalid $(dtddir)/wayland.dtd $^ > $@
validate: $(protocol_sources:%.xml=.%.xml.valid)
all-local: validate
CLEANFILES= $(protocol_sources:%.xml=.%.xml.valid)
EXTRA_DIST=$(protocol_sources)
endif