Revision control

Other Tools

1
#
2
# This Source Code Form is subject to the terms of the Mozilla Public
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6
include $(topsrcdir)/config/rules.mk
7
8
ifdef MAKENSISU
9
# For Windows build the uninstaller during the application build since the
10
# uninstaller is included with the application for mar file generation.
11
libs::
12
$(MAKE) -C installer/windows uninstaller
13
endif
14
15
16
# As a fallout from bug 1247162, the sourcestamp in application.ini and
17
# platform.ini are the same, which isn't a problem for Firefox, but
18
# it's not right for anything else. So we correct platform.ini here.
19
20
MOZ_REV=$(shell hg -R "$(topsrcdir)" parent --template="{node}" 2>/dev/null)
21
22
libs:: $(DIST)/bin/platform.ini
23
sed -e "s/^\(SourceStamp=\).*/\1$(MOZ_REV)/" $(DIST)/bin/platform.ini \
24
> $(DIST)/bin/platform.ini~
25
mv -f $(DIST)/bin/platform.ini~ $(DIST)/bin/platform.ini