Updated.
[empathy.git] / Makefile.am
1 SUBDIRS = po data libempathy libempathy-gtk src docs
2
3 if HAVE_MEGAPHONE
4 SUBDIRS += megaphone
5 endif
6
7 if HAVE_NOTHERE
8 SUBDIRS += nothere
9 endif
10
11 if HAVE_PYTHON
12 SUBDIRS += python
13 endif
14
15 if HAVE_TESTS
16 SUBDIRS += tests
17 endif
18
19 DISTCHECK_CONFIGURE_FLAGS =     \
20         --disable-scrollkeeper  \
21         --enable-gtk-doc
22
23 INTLTOOL =                      \
24         intltool-extract.in     \
25         intltool-merge.in       \
26         intltool-update.in
27
28 EXTRA_DIST =                    \
29         ChangeLog               \
30         README                  \
31         CONTRIBUTORS            \
32         $(INTLTOOL)
33
34 DISTCLEANFILES =                \
35         intltool-extract        \
36         intltool-merge          \
37         intltool-update
38
39 # Workaround broken scrollkeeper that doesn't remove its files on
40 # uninstall.
41 distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
42
43 dist-hook:
44         chmod a+w ${distdir}/ChangeLog
45         if test -d _darcs; then darcs changes >${distdir}/ChangeLog; fi