-SUBDIRS = po data libempathy libempathy-gtk src
+SUBDIRS = tools extensions 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
+
+ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = \
- --disable-scrollkeeper
+ --disable-scrollkeeper \
+ --enable-gtk-doc
INTLTOOL = \
intltool-extract.in \
EXTRA_DIST = \
ChangeLog \
+ ChangeLog.old \
README \
CONTRIBUTORS \
+ autogen.sh \
$(INTLTOOL)
DISTCLEANFILES = \
+ ChangeLog \
intltool-extract \
intltool-merge \
intltool-update
# uninstall.
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
-dist-hook:
- chmod a+w ${distdir}/ChangeLog
- if test -d _darcs; then darcs changes >${distdir}/ChangeLog; fi
+ChangeLog: Makefile.am
+ git-log --pretty=short > ChangeLog
+
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+