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