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