-# Makefile.am for toplevel directory
-# This file is part of Claws Mail package.
+# Copyright 1999-2014 the Claws Mail team.
+# This file is part of Claws Mail package, and distributed under the
+# terms of the General Public License version 3 (or later).
# See COPYING file for license details.
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
SUBDIRS = m4 po src tools config doc manual
+if BUILD_APPDATA
+SUBDIRS += appdata
+endif
+DIST_SUBDIRS = appdata $(SUBDIRS)
# when changing the name or location of the .desktop file,
# also update src/common/Makefile.am
@INTLTOOL_DESKTOP_RULE@
-appdata_in_files = claws-mail.appdata.xml.in
-appdatadir=$(datadir)/appdata
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-
-@INTLTOOL_XML_RULE@
-
EXTRA_DIST = \
ChangeLog \
ChangeLog.gtk1 \
claws-mail.pc.in \
$(desktop_in_files) \
claws-mail.png \
- $(appdata_DATA) \
autogen.sh \
claws-features.h.in \
version