Improve Makefile for signing windows release candidates.
This commit is contained in:
parent
ee6cf6ad6b
commit
1123c9779f
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
|||
version?=$(shell grep '^[Vv]ersion:' ../pandoc.cabal | awk '{print $$2;}')
|
||||
UNSIGNED=$(wildcard pandoc-*-UNSIGNED.msi)
|
||||
SIGNED=$(patsubst %-UNSIGNED.msi, %.msi, $(UNSIGNED))
|
||||
|
||||
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
|
||||
all: $(SIGNED)
|
||||
|
||||
.PHONY: all
|
||||
|
||||
pandoc-%.msi: pandoc-%-UNSIGNED.msi
|
||||
osslsigncode sign -pkcs12 $$HOME/Private/SectigoCodeSigning.exp2023.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass && rm $<
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue