aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-29 11:50:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-29 11:50:09 -0800
commitee6cf6ad6b37a3b7c694566090d8a4cb5300c6e5 (patch)
treedabb29def68b356dec996bffb6b9ec78d1353d8f /windows
parent67f5d65cd5cd3404db9492bd2e6d38bd92e8625d (diff)
downloadpandoc-ee6cf6ad6b37a3b7c694566090d8a4cb5300c6e5.tar.gz
Add Makefile to windows release-candidate build.
Running 'make' in this directory will do the code signing of the msi.
Diffstat (limited to 'windows')
-rw-r--r--windows/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/windows/Makefile b/windows/Makefile
new file mode 100644
index 000000000..0a442fbef
--- /dev/null
+++ b/windows/Makefile
@@ -0,0 +1,5 @@
+version?=$(shell grep '^[Vv]ersion:' ../pandoc.cabal | awk '{print $$2;}')
+
+pandoc-$(version)-windows-%.msi: pandoc-windows-%-UNSIGNED.msi
+ osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
+