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