]> git.0d.be Git - empathy.git/blob - tools/Makefile.am
817100087e17b3cb160a1e2d9e3681d5aa9e5e0d
[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     glib-client-gen.py \
17     glib-client-marshaller-gen.py \
18     glib-errors-enum-body-gen.py \
19     glib-errors-enum-header-gen.py \
20     glib-ginterface-gen.py \
21     glib-gtypes-generator.py \
22     glib-interfaces-gen.py \
23     glib-signals-marshal-gen.py \
24     gobject-foo.py \
25     identity.xsl \
26     lcov.am \
27     libtpcodegen.py \
28     libglibcodegen.py \
29     make-version-script.py \
30     telepathy.am \
31     telepathy-glib-env.in \
32     with-session-bus.sh
33
34 CLEANFILES = libtpcodegen.pyc libtpcodegen.pyo libglibcodegen.pyc libglibcodegen.pyo $(noinst_SCRIPTS)
35
36 all: $(EXTRA_DIST)
37
38 libglibcodegen.py: libtpcodegen.py
39         touch $@
40 c-constants-gen.py: libglibcodegen.py
41         touch $@
42 glib-client-marshaller-gen.py: libglibcodegen.py
43         touch $@
44 glib-errors-enum-body-gen.py: libglibcodegen.py
45         touch $@
46 glib-errors-enum-header-gen.py: libglibcodegen.py
47         touch $@
48 glib-ginterface-gen.py: libglibcodegen.py
49         touch $@
50 glib-gtypes-generator.py: libglibcodegen.py
51         touch $@
52 glib-interfaces-gen.py: libglibcodegen.py
53         touch $@
54 glib-signals-marshal-gen.py: libglibcodegen.py
55         touch $@
56
57 TELEPATHY_SPEC_SRCDIR = $(top_srcdir)/../telepathy-spec
58 maintainer-update-from-telepathy-spec:
59         set -e && cd $(srcdir) && \
60         for x in $(EXTRA_DIST); do \
61                 if test -f $(TELEPATHY_SPEC_SRCDIR)/tools/$$x; then \
62                         cp $(TELEPATHY_SPEC_SRCDIR)/tools/$$x $$x; \
63                 fi; \
64         done