Files
tubestation/browser/installer/windows/nsis/Makefile.in
Chris DuPuis 27d7ebc75e Bug 1940280 - Part 5: Update Makefiles to make everything r=nalexander,browser-installer-reviewers
Note that this builds the test_stub.exe exectuable into
$(topobjdir)/dist/bin

Differential Revision: https://phabricator.services.mozilla.com/D233407
2025-02-21 16:17:24 +00:00

30 lines
854 B
Makefile

include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
include $(topsrcdir)/config/config.mk
VPATH = @srcdir@
CONFIG_DIR = $(topobjdir)/browser/installer/windows/instgen
BIN_UTIL_DIR = $(topobjdir)/dist/bin
TEST_STUB_INSTALLER_DEPS := \
test_stub.nsi \
stub.nsh \
stub_shared_defs.nsh \
$(topsrcdir)/toolkit/mozapps/installer/windows/nsis/common.nsh \
shared.nsh \
defines.nsi.in \
$(NULL)
test_stub_installer:
ifdef ENABLE_TESTS
$(MAKE) $(BIN_UTIL_DIR)/test_stub_installer.exe
else
@echo Skipping build of test_stub_installer.exe since tests are not enabled
endif # ENABLE_TESTS
$(BIN_UTIL_DIR)/test_stub_installer.exe: $(TEST_STUB_INSTALLER_DEPS)
$(MAKE) -C .. install_deps
cd $(CONFIG_DIR) && $(MAKENSISU) -nocd -- $(CONFIG_DIR)/test_stub.nsi
cp $(CONFIG_DIR)/test_stub_installer.exe $(BIN_UTIL_DIR)/test_stub_installer.exe