calendar/import-export/Makefile.in
author Joshua Cranmer <Pidgeot18@gmail.com>
Wed, 19 Jun 2013 08:13:35 -0500
changeset 15759 32b90d9f17689baf4255f3c896b4d6dcd4268c40
parent 13273 6ce4c3cdaf3c3bace2bd82a9c46543a682fe262f
child 16526 452390823d77e524ac37b18d8b012a9da3b8ef12
permissions -rw-r--r--
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