protocol: crop & scale RFC v3
[profile/ivi/weston-ivi-shell.git] / protocol / Makefile.am
1 protocol_sources =                              \
2         desktop-shell.xml                       \
3         screenshooter.xml                       \
4         xserver.xml                             \
5         text.xml                                \
6         input-method.xml                        \
7         workspaces.xml                          \
8         text-cursor-position.xml                \
9         wayland-test.xml                        \
10         xdg-shell.xml                           \
11         scaler.xml
12
13 if HAVE_XMLLINT
14 .PHONY: validate
15
16 .%.xml.valid: %.xml
17         $(AM_V_GEN)$(XMLLINT) --noout --dtdvalid $(dtddir)/wayland.dtd $^ > $@
18
19 validate: $(protocol_sources:%.xml=.%.xml.valid)
20
21 all-local: validate
22
23 CLEANFILES= $(protocol_sources:%.xml=.%.xml.valid)
24 EXTRA_DIST=$(protocol_sources)
25
26 endif