1version?=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
2pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
6 stack install --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4'
9 stack install --flag 'pandoc:embed_data_files' --test --test-arguments='-j4' --pedantic
13 stack test --test-arguments='-j4'
19 pandoc --filter extract-changes.hs changelog -t markdown_github | sed -e 's/\\#/#/g' | pbcopy
23 rm -rf "pandoc-${version}"
24 tar xvzf dist/pandoc-${version}.tar.gz
26 stack setup && stack test && cd .. && rm -rf "pandoc-${version}"
32 ./macos/make_macos_package.sh
34winpkg: pandoc-$(version)-windows.msi
36pandoc-$(version)-windows.msi:
37 wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=$(BRANCH)' -O pandoc.msi && \
38 osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2017.p12 -in pandoc.msi -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
41man/pandoc.1: MANUAL.txt man/pandoc.1.template
42 pandoc $< -t man -s --template man/pandoc.1.template \
43 --filter man/capitalizeHeaders.hs \
44 --filter man/removeNotes.hs \
45 --filter man/removeLinks.hs \
46 --variable version="pandoc $(version)" \
50 curl https://api.github.com/repos/jgm/pandoc/releases | \
51 jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
56.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list