blob: 5e331a748b0af1bd69b39f5c067056ecaae3be8a (
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
26
|
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
|