~vcs-imports/gnome-mag/master

« back to all changes in this revision

Viewing changes to xml/Makefile.am

  • Committer: Carlos Eduardo Rodrigues DiÃgenes
  • Date: 2010-01-22 22:27:27 UTC
  • Revision ID: git-v1:e8aa4ff7c7d782d8319482418bbb945f6373e9d9
Committing the changes to support D-BUS. This initial implementation still support CORBA, so in some parts the D-BUS code affect the CORBA code to make the migration easier. After the CORBA deprecation the code can be better refactored.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XML_SPEC= \
 
2
        Magnifier.xml \
 
3
        org.freedesktop.gnome.Magnifier.xml \
 
4
        org.freedesktop.gnome.ZoomRegion.xml
 
5
 
 
6
spec.xml: $(XML_SPEC)
 
7
        xsltproc --xinclude $(top_srcdir)/tools/identity.xsl $< >$@
 
8
 
 
9
# I'm only adding spec.xml because it is needed to build other files that
 
10
# are currently being distributed. -MPG
 
11
EXTRA_DIST = $(XML_SPEC) spec.xml
 
12
 
 
13
BUILT_SOURCES = spec.xml
 
14
CLEANFILES = spec.xml
 
15
 
 
16
INTROSPECT_FILES = $(addprefix introspection/,$(patsubst %.xml,%,$(filter org.freedesktop.gnome%,$(XML_SPEC))))
 
17
 
 
18
$(INTROSPECT_FILES): introspection/%: %.xml ../tools/spec-to-introspect.xsl
 
19
        @mkdir -p introspection
 
20
        xsltproc ../tools/spec-to-introspect.xsl $< |sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g' >$@
 
21
 
 
22
introspectdir = $(datarootdir)/$(DEFAULT_GMAG_INTROSPECTION_PATH)
 
23
dist_introspect_DATA = $(INTROSPECT_FILES)