# The Original Code is KaiRo-Mandelbrot.
#
# The Initial Developer of the Original Code is
-# Robert Kaiser.
-# Portions created by the Initial Developer are Copyright (C) 2010
+# Robert Kaiser <kairo@kairo.at>.
+# Portions created by the Initial Developer are Copyright (C) 2010-2011
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
-# Robert Kaiser <kairo@kairo.at>
+# Robert Kaiser <kairo@kairo.at> (original author)
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
include $(DEPTH)/config/autoconf.mk
-MODULE = mandelbrot
+ifdef ENABLE_TESTS
+PARALLEL_DIRS += tests
+endif
+
+MODULE = mandelbrot
-EXTENSION_VERSION = 4.0b2
+EXTENSION_VERSION = 4.0b3
XPI_NAME = mandelbrot
USE_EXTENSION_MANIFEST = 1
INSTALL_EXTENSION_ID = mandelbrot@kairo.at
XPI_PKGNAME = mandelbrot-$(EXTENSION_VERSION)
-DIST_FILES = extension/install.rdf
+DIST_FILES = \
+ install.rdf \
+ $(NULL)
-EXTRA_COMPONENTS = extension/aboutMandelbrot.js
+PREF_JS_EXPORTS = \
+ $(srcdir)/prefs.js \
+ $(NULL)
-# this interferes with e.g. Firefox prefs
-#PREF_JS_EXPORTS = $(srcdir)/xulapp/defaults/preferences/prefs.js
+EXTRA_COMPONENTS = \
+ aboutMandelbrot.js \
+ $(NULL)
# include config.mk before using the AB_CD var
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
-export::
- $(NSINSTALL) -D $(FINAL_TARGET)/chrome/icons/default
- $(INSTALL) $(srcdir)/xulapp/chrome/icons/default/mandelbrotWindow* $(FINAL_TARGET)/chrome/icons/default
-
ifdef MOZ_OMNIJAR
ABS_DIST = $(call core_abspath,$(DIST)/bin)