]> git.0d.be Git - empathy.git/blob - tools/Makefile.am
96cc60f58924e6a7d2b7cad60823a49d70a10d3a
[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-gen.py \
11     check-coding-style.mk \
12     check-c-style.sh \
13     check-misc.sh \
14     check-whitespace.sh \
15     doc-generator.xsl \
16     flymake.mk \
17     git-which-branch.sh \
18     glib-client-gen.py \
19     glib-client-marshaller-gen.py \
20     glib-errors-check-gen.py \
21     glib-errors-str-gen.py \
22     glib-ginterface-gen.py \
23     glib-gtypes-generator.py \
24     glib-interfaces-gen.py \
25     glib-signals-marshal-gen.py \
26     gobject-foo.py \
27     lcov.am \
28     libtpcodegen.py \
29     libglibcodegen.py \
30     make-release-mail.py \
31     make-version-script.py \
32     manager-file.py \
33     shave.mk \
34     telepathy.am \
35     telepathy-glib.supp \
36     telepathy-glib-env.in \
37     test-wrapper.sh \
38     with-session-bus.sh \
39     xincludator.py
40
41 CLEANFILES = libtpcodegen.pyc libtpcodegen.pyo libglibcodegen.pyc libglibcodegen.pyo $(noinst_SCRIPTS)
42
43 all: $(EXTRA_DIST)
44
45 libglibcodegen.py: libtpcodegen.py
46         $(AM_V_GEN)touch $@
47 c-constants-gen.py: libglibcodegen.py
48         $(AM_V_GEN)touch $@
49 glib-client-marshaller-gen.py: libglibcodegen.py
50         $(AM_V_GEN)touch $@
51 glib-errors-enum-body-gen.py: libglibcodegen.py
52         $(AM_V_GEN)touch $@
53 glib-errors-enum-header-gen.py: libglibcodegen.py
54         $(AM_V_GEN)touch $@
55 glib-ginterface-gen.py: libglibcodegen.py
56         $(AM_V_GEN)touch $@
57 glib-gtypes-generator.py: libglibcodegen.py
58         $(AM_V_GEN)touch $@
59 glib-interfaces-gen.py: libglibcodegen.py
60         $(AM_V_GEN)touch $@
61 glib-signals-marshal-gen.py: libglibcodegen.py
62         $(AM_V_GEN)touch $@
63
64 TELEPATHY_SPEC_SRCDIR = $(top_srcdir)/../telepathy-spec
65 maintainer-update-from-telepathy-spec:
66         set -e && cd $(srcdir) && \
67         for x in $(EXTRA_DIST); do \
68                 if test -f $(TELEPATHY_SPEC_SRCDIR)/tools/$$x; then \
69                         cp $(TELEPATHY_SPEC_SRCDIR)/tools/$$x $$x; \
70                 fi; \
71         done