calendar/import-export/Makefile.in
author Frank Wein <mcsmurf@mcsmurf.de>
Wed, 14 Nov 2012 00:23:49 +0100
changeset 13556 588b5b98f12c088fef1e2d85f40e184de24ee383
parent 13273 6ce4c3cdaf3c3bace2bd82a9c46543a682fe262f
child 15759 32b90d9f17689baf4255f3c896b4d6dcd4268c40
permissions -rw-r--r--
Bug 773761 - Port |Bug 760625 - Use the blocklist to inform click-to-play plugins|, r=Neil, a=Callek

# 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_COMPONENTS = \
    calImportExportModule.js \
    calImportExportModule.manifest \
    $(NULL)

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