From 7ba3f9f59750fe363be90e1c3a8e52aa8935313c Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Sun, 20 Jun 2021 19:01:53 +0200 Subject: [PATCH] Signed the Windows binary. --- .gitignore | 1 + Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9cbaf9d..017f129 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /MANIFEST /.dub /.project +/signed diff --git a/Makefile b/Makefile index 6ca4bdc..b544712 100644 --- a/Makefile +++ b/Makefile @@ -38,9 +38,12 @@ srcdist: MANIFEST MANIFEST: if test -e .git; then (git ls-files | grep -vF .gitignore && echo MANIFEST) | sort | dos2unix >$@ ; fi -../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties +../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties signed $(RM) $@ && $(SEVENZIP) -tzip $@ xasm.exe xasm.html xasm.properties +signed: xasm + signtool sign -d "xasm $(VERSION)" -n "Open Source Developer, Piotr Fusik" -tr http://time.certum.pl -fd sha256 -td sha256 xasm.exe && touch $@ + deb: debuild -b -us -uc @@ -63,7 +66,7 @@ osx/bin: mkdir -p osx && ln -s /usr/local/bin $@ clean: - $(RM) xasm xasm.exe xasm.obj xasm.html xasm.1 + $(RM) xasm xasm.exe xasm.obj xasm.html xasm.1 signed rm -rf osx .PHONY: all install uninstall install-scite uninstall-scite dist srcdist MANIFEST deb osx clean