diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mail/installer/windows/Makefile.in | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | comm/mail/installer/windows/Makefile.in | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/comm/mail/installer/windows/Makefile.in b/comm/mail/installer/windows/Makefile.in new file mode 100644 index 0000000000..2a1f518bbf --- /dev/null +++ b/comm/mail/installer/windows/Makefile.in @@ -0,0 +1,59 @@ +# 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)/toolkit/mozapps/installer/package-name.mk + +CONFIG_DIR = instgen +SFX_MODULE = $(commtopsrcdir)/other-licenses/7zstub/thunderbird/7zSD.sfx + +INSTALLER_FILES = \ + app.tag \ + nsis/installer.nsi \ + nsis/uninstaller.nsi \ + nsis/shared.nsh \ + $(NULL) + +ifdef MOZ_MAINTENANCE_SERVICE +INSTALLER_FILES += \ + nsis/maintenanceservice_installer.nsi \ + $(NULL) +endif + +BRANDING_FILES = \ + branding.nsi \ + wizHeader.bmp \ + wizHeaderRTL.bmp \ + wizWatermark.bmp \ + $(NULL) + +LOCALE_TOPDIR=$(commtopsrcdir) +LOCALE_RELATIVEDIR=mail/installer/windows + +include $(topsrcdir)/config/config.mk + +ifdef IS_LANGUAGE_REPACK +PPL_LOCALE_ARGS = \ + --l10n-dir=$(REAL_LOCALE_MERGEDIR)/mail/installer \ + --l10n-dir=$(call EXPAND_LOCALE_SRCDIR,mail/locales)/installer \ + --l10n-dir=$(commtopsrcdir)/mail/locales/en-US/installer \ + $(NULL) +else +PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,mail/locales)/installer +endif + +$(CONFIG_DIR)/setup.exe:: + $(RM) -r $(CONFIG_DIR) + $(MKDIR) $(CONFIG_DIR) + $(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) $(CONFIG_DIR) + $(INSTALL) $(addprefix $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/,$(BRANDING_FILES)) $(CONFIG_DIR) + $(call py_action,preprocessor,-Fsubstitution $(DEFINES) $(ACDEFINES) \ + $(srcdir)/nsis/defines.nsi.in -o $(CONFIG_DIR)/defines.nsi) + $(PYTHON3) $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \ + --preprocess-locale $(topsrcdir) \ + $(PPL_LOCALE_ARGS) $(AB_CD) $(CONFIG_DIR) + +GARBARGE_DIRS += instgen + +include $(topsrcdir)/config/rules.mk +include $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/makensis.mk |