-SUBDIRS = po data libempathy libempathy-gtk src doc
+SUBDIRS = po data libempathy libempathy-gtk src docs
+
+if HAVE_MEGAPHONE
+SUBDIRS += megaphone
+endif
+
+if HAVE_NOTHERE
+SUBDIRS += nothere
+endif
+
+if HAVE_PYTHON
+SUBDIRS += python
+endif
+
+if HAVE_TESTS
+SUBDIRS += tests
+endif
DISTCHECK_CONFIGURE_FLAGS = \
- --disable-scrollkeeper
+ --disable-scrollkeeper \
+ --enable-gtk-doc
INTLTOOL = \
intltool-extract.in \