2008-07-22 16:21:15 +04:00
|
|
|
#
|
2012-05-30 20:48:24 +04:00
|
|
|
# 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/.
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2018-08-20 23:12:49 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2014-12-07 13:25:00 +03:00
|
|
|
ifdef MAKENSISU
|
2008-07-22 16:21:15 +04:00
|
|
|
# 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
|
2016-10-10 21:23:11 +03:00
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2018-08-20 23:12:49 +03:00
|
|
|
MOZ_REV=$(shell hg -R "$(topsrcdir)" parent --template="{node}" 2>/dev/null)
|
2016-10-10 21:23:11 +03:00
|
|
|
|
|
|
|
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
|
2024-07-28 03:41:10 +03:00
|
|
|
|
|
|
|
|
|
|
|
vendored-rust-check:
|
|
|
|
ifdef MOZ_THUNDERBIRD_RUST
|
|
|
|
@echo "Checking vendored Rust libs"
|
|
|
|
$(PYTHON3) $(commtopsrcdir)/python/rocbuild/rocbuild/rust.py verify_vendored_dependencies
|
|
|
|
endif
|
|
|
|
|
|
|
|
export:: vendored-rust-check
|
|
|
|
|