webapprt/Makefile.in
author Carsten "Tomcat" Book <cbook@mozilla.com>
Wed, 04 Dec 2013 10:06:32 +0100
changeset 158792 9365ba8d1cd746ed56e3824428a38b20947c88a5
parent 158331 942d149a7c0c6c4f85f8c212a2414f58b90585f7
child 226837 6d8289226c9a9e1388d69b50d88835ce86760b8b
permissions -rw-r--r--
Backed out changeset deaef09b17c1 (bug 944725) for marionette web-api bustage on a CLOSED TREE

# 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/.

# Include config.mk explicitly so we can override FINAL_TARGET.
include $(topsrcdir)/config/config.mk

PREF_JS_EXPORTS = $(srcdir)/prefs.js \
                  $(NULL)

include $(topsrcdir)/config/rules.mk

libs:: $(call mkdir_deps,$(FINAL_TARGET))
	$(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest 'resource webapprt ./')

GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)
DEFINES += -DGRE_BUILDID=$(GRE_BUILDID)

webapprt.ini: application.ini.in $(DEPTH)/config/buildid $(topsrcdir)/config/milestone.txt
	$(call py_action,preprocessor,$(DEFINES) $< -o $@)

libs:: webapprt.ini
	$(INSTALL) webapprt.ini $(FINAL_TARGET)

GARBAGE += webapprt.ini