summaryrefslogtreecommitdiffstats
path: root/build-aux/speedo.mk
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@gnupg.org>2019-03-18 16:08:23 +0100
committerAndre Heinecke <aheinecke@gnupg.org>2019-03-18 16:08:23 +0100
commitb98799ce964df1743478dc3d0cc503f51c4b6733 (patch)
tree840b018aa80b2820c178e63b3eed44985c59fb0e /build-aux/speedo.mk
parentgpg: Allow import of PGP desktop exported secret keys. (diff)
downloadgnupg2-b98799ce964df1743478dc3d0cc503f51c4b6733.tar.xz
gnupg2-b98799ce964df1743478dc3d0cc503f51c4b6733.zip
speedo: Fix installer build with NSIS-3
* build-aux/speedo.mk: Add charset for nsis 3. -- NSIS-3 defaults to UTF-8 but for NSIS-2 compatibility we still stay on CP1252 for now.
Diffstat (limited to '')
-rw-r--r--build-aux/speedo.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index d0f97f3db..569940099 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -1212,7 +1212,9 @@ extra_installer_options += -DWITH_GUI=1
endif
installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt
- $(MAKENSIS) -V2 \
+ (nsis3_args=$$(makensis -version | grep -q "^v3" && \
+ echo "-INPUTCHARSET CP1252"); \
+ $(MAKENSIS) -V2 $$nsis3_args \
-DINST_DIR=$(idir) \
-DINST6_DIR=$(idir6) \
-DBUILD_DIR=$(bdir) \
@@ -1223,7 +1225,7 @@ installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt
-DNAME=$(INST_NAME) \
-DVERSION=$(INST_VERSION) \
-DPROD_VERSION=$(INST_PROD_VERSION) \
- $(extra_installer_options) $(w32src)/inst.nsi
+ $(extra_installer_options) $(w32src)/inst.nsi)
@echo "Ready: $(idir)/$(INST_NAME)-$(INST_VERSION)_$(BUILD_DATESTR).exe"