im/Makefile.in
author tbirdbld
Fri, 06 Jan 2017 09:00:50 -0500
branchTHUNDERBIRD510b1_2017010608_RELBRANCH
changeset 26168 aa4091e82224f4ad37c099f7dda6976ce9335080
parent 26056 88f589017731a194eb5f890ff2c15617da5ed268
child 29160 84893db274a435ec11faa19c102efc9cd4780391
permissions -rw-r--r--
Added THUNDERBIRD_51_0b1_RELEASE THUNDERBIRD_51_0b1_BUILD5 tag(s) for changeset 87320f336d23. DONTBUILD CLOSED TREE a=release

#
# 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 $(topsrcdir)/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
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 "$(MOZILLA_SRCDIR)" 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