Add license and copyright to 9b3fd2b5
[claws.git] / Makefile.am
index 253a365f4d933e0a54ecfe163033bed4da28a0f0..876eb4bd2444afb61a5ddfaba7e93d26f5e48edb 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 \
@@ -33,7 +32,6 @@ EXTRA_DIST = \
        claws-mail.pc.in \
        $(desktop_in_files) \
        claws-mail.png \
-       $(appdata_DATA) \
        autogen.sh \
        claws-features.h.in \
        version