Merge branch 'mgorse'
[platform/core/uifw/at-spi2-atk.git] / xml / Makefile.am
1 XML_SPEC= \
2         Accessibility.xml \
3         org.freedesktop.atspi.Accessible.xml \
4         org.freedesktop.atspi.Action.xml \
5         org.freedesktop.atspi.Application.xml \
6         org.freedesktop.atspi.Collection.xml \
7         org.freedesktop.atspi.Component.xml \
8         org.freedesktop.atspi.Desktop.xml \
9         org.freedesktop.atspi.Document.xml \
10         org.freedesktop.atspi.EditableText.xml \
11         org.freedesktop.atspi.Hyperlink.xml \
12         org.freedesktop.atspi.Hypertext.xml \
13         org.freedesktop.atspi.Image.xml \
14         org.freedesktop.atspi.LoginHelper.xml \
15         Accessibility_Registry_Common.xml \
16         org.freedesktop.atspi.Registry.xml \
17         org.freedesktop.atspi.DeviceEventController.xml \
18         org.freedesktop.atspi.DeviceEventListener.xml \
19         Accessibility_Relation.xml \
20         Accessibility_Role.xml \
21         org.freedesktop.atspi.Selection.xml \
22         org.freedesktop.atspi.Selector.xml \
23         Accessibility_State.xml \
24         org.freedesktop.atspi.StreamableContent.xml \
25         org.freedesktop.atspi.Table.xml \
26         org.freedesktop.atspi.Text.xml \
27         org.freedesktop.atspi.Tree.xml \
28         org.freedesktop.atspi.Value.xml
29
30 spec.xml: $(XML_SPEC)
31         xsltproc --xinclude $(top_srcdir)/tools/identity.xsl $< >$@
32
33 # I'm only adding spec.xml because it is needed to build other files that
34 # are currently being distributed. -MPG
35 EXTRA_DIST = $(XML_SPEC) spec.xml
36
37 BUILT_SOURCES = spec.xml
38 CLEANFILES = spec.xml
39
40 INTROSPECT_FILES = $(addprefix introspection/,$(patsubst %.xml,%,$(filter org.freedesktop.atspi%,$(XML_SPEC))))
41
42 $(INTROSPECT_FILES): introspection/%: %.xml ../tools/spec-to-introspect.xsl
43         @mkdir -p introspection
44         xsltproc ../tools/spec-to-introspect.xsl $< |sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g' >$@
45
46 introspectdir = $(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)
47 dist_introspect_DATA = $(INTROSPECT_FILES)