]> git.0d.be Git - empathy.git/blob - tools/Makefile.am
Update tools from tp-glib 0.7.6
[empathy.git] / tools / Makefile.am
1 abs_top_builddir = @abs_top_builddir@
2
3 noinst_SCRIPTS = telepathy-glib-env
4
5 telepathy-glib-env: telepathy-glib-env.in Makefile
6         sed -e 's![@]abs_top_builddir[@]!$(abs_top_builddir)!' $< > $@
7         chmod +x $@
8
9 EXTRA_DIST = \
10     c-constants-generator.xsl \
11     check-coding-style.mk \
12     check-c-style.sh \
13     check-misc.sh \
14     check-whitespace.sh \
15     c-interfaces-generator.xsl \
16     doc-generator.xsl \
17     glib-client-gen.py \
18     glib-client-marshaller-gen.py \
19     glib-errors-enum-body.xsl \
20     glib-errors-enum-header.xsl \
21     glib-interfaces-generator.xsl \
22     glib-interfaces-body-generator.xsl \
23     glib-ginterface-gen.py \
24     glib-gtypes-generator.py \
25     glib-signals-marshal-gen.py \
26     gobject-foo.py \
27     identity.xsl \
28     libglibcodegen.py \
29     ls-interfaces.xsl \
30     make-all-async.xsl \
31     spec-to-introspect.xsl \
32     telepathy-glib-env.in \
33     with-session-bus.sh
34
35 CLEANFILES = libglibcodegen.pyc libglibcodegen.pyo $(noinst_SCRIPTS)
36
37 all: $(EXTRA_DIST)
38
39 glib-client-marshaller-gen.py: libglibcodegen.py
40         touch $@
41 glib-ginterface-gen.py: libglibcodegen.py
42         touch $@
43 glib-gtypes-generator.py: libglibcodegen.py
44         touch $@
45 glib-signals-marshal-gen.py: libglibcodegen.py
46         touch $@
47
48 TELEPATHY_SPEC_SRCDIR = $(top_srcdir)/../telepathy-spec
49 maintainer-update-from-telepathy-spec:
50         set -e && cd $(srcdir) && \
51         for x in $(EXTRA_DIST); do \
52                 if test -f $(TELEPATHY_SPEC_SRCDIR)/tools/$$x; then \
53                         cp $(TELEPATHY_SPEC_SRCDIR)/tools/$$x $$x; \
54                 fi; \
55         done