you don't get into AUTHORS just for suggesting an idea, and that's all that the contr...
[claws.git] / Makefile.am
index db4b62c77355e3b5ba09810bf4d092554c01e50b..edf69ab132da2314da3dc4fd6d1a892210f2fed0 100644 (file)
@@ -1,11 +1,16 @@
-# 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
@@ -15,12 +20,6 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
 @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 \
@@ -31,9 +30,9 @@ EXTRA_DIST = \
        claws-mail-128x128.png \
        claws-mail-64x64.png \
        claws-mail.pc.in \
+       $(desktop_DATA) \
        $(desktop_in_files) \
        claws-mail.png \
-       $(appdata_in_files) \
        autogen.sh \
        claws-features.h.in \
        version