weston/protocol/Makefile.am
2013-10-25 10:58:15 -07:00

27 lines
524 B
Makefile

protocol_sources = \
desktop-shell.xml \
screenshooter.xml \
tablet-shell.xml \
xserver.xml \
text.xml \
input-method.xml \
workspaces.xml \
subsurface.xml \
text-cursor-position.xml \
wayland-test.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