bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r?build-peer draft
authorTed Mielczarek <ted@mielczarek.org>
Mon, 13 Nov 2017 15:45:12 -0500
changeset 697310 e1a7602cbb0d195f3628eccfdaaf1feb99e001d0
parent 697308 550ffbf81855b1f0c2e043bfd1295c4532758961
child 740093 837b1229a1f326b00c20197b501beb374bfa1d34
push id88970
push userbmo:ted@mielczarek.org
push dateMon, 13 Nov 2017 21:36:26 +0000
reviewersbuild-peer
bugs1407374
milestone58.0a1
bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r?build-peer MozReview-Commit-ID: 833pqKcr4T9
extensions/spellcheck/locales/Makefile.in
extensions/spellcheck/locales/moz.build
deleted file mode 100644
--- a/extensions/spellcheck/locales/Makefile.in
+++ /dev/null
@@ -1,7 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-DICTIONARY_FILES = $(strip $(wildcard $(LOCALE_SRCDIR)/hunspell/*.dic) $(wildcard $(LOCALE_SRCDIR)/hunspell/*.aff))
-DICTIONARY_DEST = $(FINAL_TARGET)/dictionaries
-INSTALL_TARGETS += DICTIONARY
--- a/extensions/spellcheck/locales/moz.build
+++ b/extensions/spellcheck/locales/moz.build
@@ -1,6 +1,10 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
+LOCALIZED_FILES.dictionaries += [
+    'en-US/hunspell/*.aff',
+    'en-US/hunspell/*.dic',
+]