calendar/timezones/Makefile.in
author Brian O'Keefe <bokeefe@alum.wpi.edu>
Tue, 17 Mar 2015 12:53:48 -0400
changeset 29213 201e66c2d6a7ed6f3f4fcbf1dddabbaddffde349
parent 29058 8e84e1b51ec88a0cea88f3a19a92cca0f95dbfe5
child 29214 3af0b14a39cf4a994bfafef2e6211f3f715a84e3
child 29244 926747e7b0e68f92e7bde7d0c7ba64f50817a1d7
permissions -rw-r--r--
Bug 1138063 - Clean up a bunch of make rules that install things to FINAL_TARGET; r=jcranmer,fallen,florian

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

USE_EXTENSION_MANIFEST = 1
DIST_FILES = install.rdf
XPI_PKGNAME = calendar-timezones-$(TIMEZONES_VERSION)

THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version.txt)
SEAMONKEY_VERSION := $(shell cat $(topsrcdir)/suite/config/version.txt)
CALENDAR_VERSION := $(shell $(PYTHON) $(topsrcdir)/calendar/lightning/build/makeversion.py $(word 1,$(MOZ_PKG_VERSION) $(THUNDERBIRD_VERSION)))
TIMEZONES_VERSION := $(shell $(PYTHON) $(srcdir)/version.py)

DEFINES += -DAB_CD=$(AB_CD) \
           -DTHUNDERBIRD_VERSION=$(THUNDERBIRD_VERSION) \
           -DSEAMONKEY_VERSION=$(SEAMONKEY_VERSION) \
           -DCALENDAR_VERSION=$(CALENDAR_VERSION) \
           -DTIMEZONES_VERSION=$(TIMEZONES_VERSION) \
           $(NULL)

libs-%:
	$(MAKE) -C locales libs AB_CD=$* XPI_NAME=calendar-timezones USE_EXTENSION_MANIFEST=1

include $(topsrcdir)/config/rules.mk