Bug 882963 - Move EXTRA_COMPONENTS to moz.build, r=Standard8
# 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/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_SCRIPTS = \
calHtmlExport.js \
calIcsImportExport.js \
calListFormatter.js \
calMonthGridPrinter.js \
calOutlookCSVImportExport.js \
calWeekPrinter.js \
$(NULL)
# Use NSINSTALL to make the directory, as there's no mtime to preserve.
libs:: $(EXTRA_SCRIPTS)
if test ! -d $(FINAL_TARGET)/calendar-js; then $(NSINSTALL) -D $(FINAL_TARGET)/calendar-js; fi
$(INSTALL) $^ $(FINAL_TARGET)/calendar-js
# The install target must use SYSINSTALL, which is NSINSTALL in copy mode.
install:: $(EXTRA_SCRIPTS)
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/calendar-js
include $(topsrcdir)/config/rules.mk