~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to xml/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-07-30 12:11:55 UTC
  • mto: (0.4.1 upstream) (7.1.1 lucid) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20090730121155-6745f645s3fg1mpk
ImportĀ upstreamĀ versionĀ 5.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
tools_dir = $(top_srcdir)/tools
 
2
 
 
3
XSLTFLAGS = --nonet --novalid
 
4
DROP_NAMESPACE = sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g'
 
5
DROP_TPTYPE = sed -e 's@tp:type="[^"]*"@@g'
 
6
 
 
7
SPECS = \
 
8
        Account_Manager.xml \
 
9
        Account_Manager_Interface_Creation.xml \
 
10
        Account_Manager_Interface_Query.xml \
 
11
        Account.xml \
 
12
        Account_Interface_Avatar.xml \
 
13
        Account_Interface_ChannelRequests.xml \
 
14
        Account_Interface_Compat.xml \
 
15
        Account_Interface_Conditions.xml \
 
16
        Account_Interface_Stats.xml \
 
17
        Channel_Dispatch_Operation.xml \
 
18
        Channel_Dispatcher.xml \
 
19
        Channel_Dispatcher_Interface_Operation_List.xml \
 
20
        Channel_Request.xml \
 
21
        Client.xml \
 
22
        Client_Approver.xml \
 
23
        Client_Handler.xml \
 
24
        Client_Interface_Requests.xml \
 
25
        Client_Observer.xml \
 
26
        Connection_Interface_Contact_Capabilities.xml
 
27
 
 
28
 
 
29
SPECS_GEN = ${SPECS:%.xml=_gen/introspect-%.xml}
 
30
 
 
31
all-local: $(SPECS_GEN)
 
32
 
 
33
_gen/introspect-%.xml: %.xml $(tools_dir)/spec-to-introspect.xsl
 
34
        $(mkdir_p) _gen
 
35
        $(XSLTPROC) $(XSLTFLAGS) $(tools_dir)/spec-to-introspect.xsl $< \
 
36
                | $(DROP_NAMESPACE) > $@
 
37
 
 
38
clean-local:
 
39
        rm -f $(SPECS_GEN)
 
40
 
 
41
EXTRA_DIST = \
 
42
        all.xml \
 
43
        nmc5.xml \
 
44
        generic-types.xml \
 
45
        telepathy-types.xml \
 
46
        $(SPECS)