# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SUBDIRS= src libmodest-dbus-client man po
+SUBDIRS= src man po
+
+if MODEST_HAVE_DBUS_API
+SUBDIRS += libmodest-dbus-client
+endif
if BUILD_TESTS
SUBDIRS += tests
EXTRA_DIST= \
mkinstalldirs \
autogen.sh \
+ NEWS \
+ ChangeLog \
COPYING \
+ HACKING \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
+
+# we install the NEWS file, so we can give
+# a nice release note dialog when updating
+# (using the postinst thingie in debian/
+NEWS_FILE=NEWS
+newsdir=$(datadir)/modest/data
+news_DATA = $(NEWS_FILE)
\ No newline at end of file