browser/metro/locales/import/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 # desktop specific resources - this defines LOCALE_SRCDIR
michael@0 6 relativesrcdir = browser/locales
michael@0 7
michael@0 8 include $(topsrcdir)/config/config.mk
michael@0 9
michael@0 10 #########################################
michael@0 11 # l10s prefs file
michael@0 12
michael@0 13 DEFINES += -DAB_CD=$(AB_CD)
michael@0 14
michael@0 15 # copying firefox-l10n.js over from LOCALE_SRCDIR or browser
michael@0 16 PREF_JS_EXPORTS = $(firstword $(wildcard $(LOCALE_SRCDIR)/firefox-l10n.js) \
michael@0 17 $(topsrcdir)/$(relativesrcdir)/en-US/firefox-l10n.js )
michael@0 18
michael@0 19 include $(topsrcdir)/config/rules.mk
michael@0 20
michael@0 21 #########################################
michael@0 22 # Search plugins
michael@0 23
michael@0 24 # Metro reuses desktop search plugins
michael@0 25 libs::
michael@0 26 $(MAKE) -C $(DEPTH)/browser/locales searchplugins \
michael@0 27 DIST_SUBDIR=$(DIST_SUBDIR) XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
michael@0 28
michael@0 29 #########################################
michael@0 30 # Bookmarks
michael@0 31
michael@0 32 # Pick up desktop's bookmarks.inc file
michael@0 33 ifdef LOCALE_MERGEDIR
michael@0 34 vpath book%.inc $(LOCALE_MERGEDIR)/browser/profile
michael@0 35 endif
michael@0 36 vpath book%.inc $(LOCALE_SRCDIR)/profile
michael@0 37 ifdef LOCALE_MERGEDIR
michael@0 38 vpath book%.inc @top_srcdir@/$(relativesrcdir)/en-US/profile
michael@0 39 endif
michael@0 40
michael@0 41 bookmarks-src = $(srcdir)/../generic/profile/bookmarks.json.in
michael@0 42
michael@0 43 # The resulting bookmarks.json will get picked up and packaged by the
michael@0 44 # processing of the jar file in the parent directory.
michael@0 45 bookmarks: bookmarks.inc
michael@0 46 @echo 'Generating: $@'
michael@0 47 $(call py_action,preprocessor, \
michael@0 48 -I $^ \
michael@0 49 -DAB_CD=$(AB_CD) \
michael@0 50 $(bookmarks-src) -o ../bookmarks.json)
michael@0 51
michael@0 52 export:: bookmarks

mercurial