office-gobmx/onlineupdate/qa/single_step/Makefile
Markus Mohrhard 6de75d132f updater: get the signature verification working on Windows
The updater itself does not link to NSS on Windows and instead uses the
Windows-internal crypto libraries. However the mar executable needs to
link against NSS, so we need to split the code a bit.

Change-Id: Iea61c716aa507a876fdb444eb28ad828bdea18bd
Reviewed-on: https://gerrit.libreoffice.org/40608
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-31 23:56:19 +02:00

27 lines
873 B
Makefile

gb_Side := host
include ../../../config_host.mk
UPDATER_DIR := $(WORKDIR)/updater/single_step
all : call
unpack:
@echo "Unpacking the updater test project"
@rm -r $(UPDATER_DIR) || true
@mkdir -p $(UPDATER_DIR)
@unzip single_step.zip -d $(WORKDIR)/updater > /dev/null
@mkdir -p $(UPDATER_DIR)/patch
call-complete: unpack
@echo "Update the test project"
@cp complete_signed.mar $(UPDATER_DIR)/patch/update.mar
@$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0
call-incremental: unpack
@echo "Update the test project"
@cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar
@$(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0
call-gdb: unpack
@cp incremental_signed.mar $(UPDATER_DIR)/patch/update.mar
gdb --args $(INSTDIR)/program/updater $(UPDATER_DIR)/patch $(UPDATER_DIR) $(UPDATER_DIR) 0