git.iko.soy/typeable/pandoc
on master help sign in
Makefile: added BRANCH variable for winpkg
commit18bc0a67ebf4f49a5f8ea41d03d9b45e74d5d207 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 5 Feb 2017, 12:15 (10 years ago) parent5f2f2ef
1 file changed+2−1
Makefile+2−1
Makefile+2−1
@@ -1,5 +1,6 @@
11version=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
22pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
3+BRANCH?=master
34
45quick:
56 stack install --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4'
@@ -33,7 +34,7 @@ macospkg: man/pandoc.1
3334winpkg: pandoc-$(version)-windows.msi
3435
3536pandoc-$(version)-windows.msi:
36− wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=master' -O pandoc.msi && \
37+ wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=$(BRANCH)' -O pandoc.msi && \
3738 osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2017.p12 -in pandoc.msi -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
3839 rm pandoc.msi
3940