aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-07-19 22:43:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-19 22:43:19 -0700
commite592904087a74d7014088f8d64dfea2f98da84fe (patch)
tree55896b1fdd927c9ef52cbe24477b9e0177e523ed
parent31ef9959b810c1bc62228cfe658fcfb12cee9ffb (diff)
downloadpandoc-e592904087a74d7014088f8d64dfea2f98da84fe.tar.gz
Make sure pandoc-windows-*.msi are deleted as intermediate files.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e92e7b675..6c8b261bc 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,8 @@ pandoc-$(version)-windows-%.msi: pandoc-windows-%.msi
osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2019.p12 -in $< -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
rm $<
+.INTERMEDIATE: pandoc-windows-i386.msi pandoc-windows-x86_64.msi
+
pandoc-windows-i386.msi:
JOBID=$(shell curl 'https://ci.appveyor.com/api/projects/jgm/pandoc' | jq -r '.build.jobs[0].jobId') && \
wget "https://ci.appveyor.com/api/buildjobs/$$JOBID/artifacts/windows%2F$@" -O $@