Add spec.xml to the distribution, since it is needed to build headers that we're...
[platform/upstream/at-spi2-core.git] / xml / Makefile.am
index 5654674..7a68824 100644 (file)
@@ -4,6 +4,7 @@ XML_SPEC= \
        org.freedesktop.atspi.Action.xml \
        org.freedesktop.atspi.Application.xml \
        org.freedesktop.atspi.Component.xml \
+       org.freedesktop.atspi.Desktop.xml \
        org.freedesktop.atspi.Document.xml \
        org.freedesktop.atspi.EditableText.xml \
        org.freedesktop.atspi.Hyperlink.xml \
@@ -14,6 +15,7 @@ XML_SPEC= \
        org.freedesktop.atspi.Registry.xml \
        org.freedesktop.atspi.DeviceEventController.xml \
        org.freedesktop.atspi.DeviceEventListener.xml \
+       Accessibility_Relation.xml \
        Accessibility_Role.xml \
        org.freedesktop.atspi.Selection.xml \
        org.freedesktop.atspi.Selector.xml \
@@ -27,7 +29,9 @@ XML_SPEC= \
 spec.xml: $(XML_SPEC)
        xsltproc --xinclude $(top_srcdir)/tools/identity.xsl $< >$@
 
-EXTRA_DIST = $(XML_SPEC)
+# I'm only adding spec.xml because it is needed to build other files that
+# are currently being distributed. -MPG
+EXTRA_DIST = $(XML_SPEC) spec.xml
 
 BUILT_SOURCES = spec.xml
 CLEANFILES = spec.xml
@@ -35,6 +39,7 @@ CLEANFILES = spec.xml
 INTROSPECT_FILES = $(addprefix introspection/,$(patsubst %.xml,%,$(filter org.freedesktop.atspi%,$(XML_SPEC))))
 
 $(INTROSPECT_FILES): introspection/%: %.xml ../tools/spec-to-introspect.xsl
+       @mkdir -p introspection
        xsltproc ../tools/spec-to-introspect.xsl $< |sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g' >$@
 
 introspectdir = $(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)