]> git.0d.be Git - empathy.git/blob - tools/Makefile.am
Import tools from telepathy-glib 0.7.3 and build a static libemp-extensions.la.
[empathy.git] / tools / Makefile.am
1 EXTRA_DIST = \
2     c-constants-generator.xsl \
3     check-coding-style.mk \
4     check-c-style.sh \
5     check-misc.sh \
6     check-whitespace.sh \
7     c-interfaces-generator.xsl \
8     doc-generator.xsl \
9     glib-client-gen.py \
10     glib-client-marshaller-gen.py \
11     glib-errors-enum-body.xsl \
12     glib-errors-enum-header.xsl \
13     glib-interfaces-generator.xsl \
14     glib-interfaces-body-generator.xsl \
15     glib-ginterface-gen.py \
16     glib-gtypes-generator.py \
17     glib-signals-marshal-gen.py \
18     identity.xsl \
19     libglibcodegen.py
20
21 CLEANFILES = libglibcodegen.pyc libglibcodegen.pyo $(noinst_SCRIPTS)
22
23 all: $(EXTRA_DIST)
24
25 glib-client-marshaller-gen.py: libglibcodegen.py
26         touch $@
27 glib-ginterface-gen.py: libglibcodegen.py
28         touch $@
29 glib-gtypes-generator.py: libglibcodegen.py
30         touch $@
31 glib-signals-marshal-gen.py: libglibcodegen.py
32         touch $@
33
34 TELEPATHY_GLIB_SRCDIR = $(top_srcdir)/../telepathy-glib
35 maintainer-update-from-telepathy-glib:
36         set -e && cd $(srcdir) && \
37         for x in $(EXTRA_DIST); do \
38                 if test -f $(TELEPATHY_GLIB_SRCDIR)/tools/$$x; then \
39                         cp $(TELEPATHY_GLIB_SRCDIR)/tools/$$x $$x; \
40                 fi; \
41         done