[prevent][38358] Fix for resource leak
[platform/upstream/at-spi2-core.git] / xml / Makefile.am
index 0b7534a..edb71d3 100644 (file)
@@ -15,6 +15,7 @@ EXTRA_DIST = \
        Hyperlink.xml \
        Hypertext.xml \
        Image.xml \
+       Registry.xml \
        remove-annotations.xsl \
        Selection.xml \
        Socket.xml \
@@ -27,3 +28,14 @@ CLEANFILES = \
        introspection.c \
        introspection.h \
        Processed.xml
+
+#BUILT_SOURCES = spec.xml
+#CLEANFILES += spec.xml
+
+XML_SPEC = $(filter %.xml,$(EXTRA_DIST))
+
+spec.xml: $(XML_SPEC)
+       xsltproc --xinclude $(top_srcdir)/tools/identity.xsl Accessibility.xml >spec.xml
+
+
+-include $(top_srcdir)/git.mk