]> git.0d.be Git - empathy.git/blob - Makefile.am
hindi translation
[empathy.git] / Makefile.am
1 MY_SUBDIRS = tools extensions po data libempathy libempathy-gtk src help tests
2 NST_SUBDIRS = nautilus-sendto-plugin
3 GOA_SUBDIRS = goa-mc-plugin
4 UOA_SUBDIRS = ubuntu-online-accounts
5
6 DIST_SUBDIRS = $(MY_SUBDIRS) $(NST_SUBDIRS) $(GOA_SUBDIRS) $(UOA_SUBDIRS)
7
8 SUBDIRS = $(MY_SUBDIRS)
9
10 if HAVE_NST
11 SUBDIRS += $(NST_SUBDIRS)
12 endif
13
14 if HAVE_GOA
15 SUBDIRS += $(GOA_SUBDIRS)
16 endif
17
18 if HAVE_UOA
19 SUBDIRS += $(UOA_SUBDIRS)
20 endif
21
22 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
23
24 DISTCHECK_CONFIGURE_FLAGS =             \
25         --disable-scrollkeeper          \
26         --disable-schemas-install
27
28 EXTRA_DIST =                    \
29         CONTRIBUTORS \
30         COPYING-DOCS \
31         COPYING.LGPL \
32         COPYING.SHARE-ALIKE \
33         ChangeLog \
34         ChangeLog.old \
35         README \
36         autogen.sh \
37         $(NULL)
38
39 DISTCLEANFILES =                \
40         ChangeLog
41
42 # Workaround broken scrollkeeper that doesn't remove its files on
43 # uninstall.
44 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
45
46 distclean-local:
47         if test "x$(srcdir)" = "x."; then :; else \
48                 rm -f ChangeLog; \
49         fi
50
51 ChangeLog:
52         @echo Creating $@
53         @if test -d "$(srcdir)/.git"; then \
54           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log EMPATHY_2_27_1.. --stat) | fmt --split-only > $@.tmp \
55           && mv -f $@.tmp $@ \
56           || ($(RM) $@.tmp; \
57               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
58               (test -f $@ || echo git-log is required to generate this file >> $@)); \
59         else \
60           test -f $@ || \
61           (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
62           echo A git checkout and git-log is required to generate this file >> $@); \
63         fi
64
65 .PHONY: ChangeLog
66