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.

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

mercurial