blob: 9bd3177310778a8038fac56038d666a45d4a91b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
tools_dir = $(top_srcdir)/tools
XSLTFLAGS = --nonet --novalid
DROP_NAMESPACE = sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g'
DROP_TPTYPE = sed -e 's@tp:type="[^"]*"@@g'
SPECS = \
Account_Manager_Interface_Hidden.xml \
Account_Manager_Interface_Query.xml \
Account_Interface_Addressing.xml \
Account_Interface_Compat.xml \
Account_Interface_Conditions.xml \
Account_Interface_External_Password_Storage.xml \
Account_Interface_Hidden.xml \
Connection_Manager_Interface_Account_Storage.xml \
Channel_Dispatcher_Interface_Messages_DRAFT.xml
SPECS_GEN = ${SPECS:%.xml=_gen/introspect-%.xml}
all-local: $(SPECS_GEN)
_gen/introspect-%.xml: %.xml $(tools_dir)/spec-to-introspect.xsl
$(AM_V_at)$(mkdir_p) _gen
$(AM_V_GEN)$(XSLTPROC) $(XSLTFLAGS) $(tools_dir)/spec-to-introspect.xsl $< \
| $(DROP_NAMESPACE) > $@
clean-local:
rm -f $(SPECS_GEN)
EXTRA_DIST = \
all.xml \
nmc5.xml \
generic-types.xml \
telepathy-types.xml \
$(SPECS)
|