mail/Makefile.in
author Philipp Kewisch <mozilla@kewis.ch>
Sun, 26 Feb 2017 16:45:39 +0100
changeset 50099 917c4b2f3af1530cd2e3517b3b8454e659b638d9
parent 42738 34dd874bb704b51d666dc65223bdeb98fc12d2df
child 56332 b1e4499b6989c1b31ccfe8f9c59a2372676130cb
permissions -rw-r--r--
WiP TODO -- make c-c a subdir under m-c MozReview-Commit-ID: DhZnUDM0EyZ

# 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 $(moztopsrcdir)/config/config.mk

ifdef ENABLE_TESTS

check-sync-dirs::
	@$(PYTHON) $(commtopsrcdir)/mail/check-sync-dirs.py \
	   $(topsrcdir)/build $(moztopsrcdir)/build
	@$(PYTHON) $(commtopsrcdir)/mail/check-sync-dirs.py \
	   $(srcdir)/config/tooltool-manifests $(moztopsrcdir)/browser/config/tooltool-manifests

check:: check-sync-dirs
endif

include $(moztopsrcdir)/config/rules.mk

ifdef MAKENSISU
# For Windows build the uninstaller during the application build since the
# uninstaller is included with the application for mar file generation.
libs::
	$(MAKE) -C installer/windows uninstaller
ifdef MOZ_MAINTENANCE_SERVICE
	$(MAKE) -C installer/windows maintenanceservice_installer
endif
endif


# As a fallout from bug 1247162, the sourcestamp in application.ini and
# platform.ini are the same, which isn't a problem for Firefox, but
# it's not right for anything else. So we correct platform.ini here.

MOZ_REV=$(shell hg -R "$(moztopsrcdir)" parent --template="{node}" 2>/dev/null)

libs:: $(DIST)/bin/platform.ini
	sed -e "s/^\(SourceStamp=\).*/\1$(MOZ_REV)/" $(DIST)/bin/platform.ini \
		> $(DIST)/bin/platform.ini~
	mv -f $(DIST)/bin/platform.ini~ $(DIST)/bin/platform.ini