blob: 4f5ecc3f8e03a1e4d1020d1abadc8a37a7793959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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
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
|