From 7826cc2a206ac0f33d83c5a1a14b3d44ea8e1117 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Thu, 14 Jul 2016 10:29:46 -0700 Subject: [PATCH] Added winpkg target to Makefile. This downloads the windows package from appveyor and signs it using the key. This way we needn't mess with a Windows VM to build the package. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 9620cf386..00eb51321 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,13 @@ debpkg: man/pandoc.1 osxpkg: man/pandoc.1 ./make_osx_package.sh +winpkg: pandoc-$(version)-windows.msi + +pandoc-$(version)-windows.msi: + wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=master' -O pandoc.msi && \ + osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2017.p12 -in pandoc.msi -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass + rm pandoc.msi + man/pandoc.1: README man/pandoc.1.template pandoc $< -t man -s --template man/pandoc.1.template \ --filter man/capitalizeHeaders.hs \