1version=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
2pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
5 cabal --ignore-sandbox configure --enable-tests -fembed_data_files --disable-optimization
9 cabal configure --enable-tests --enable-optimization -ftrypandoc -fembed_data_files --enable-benchmarks
14 cabal install --only-dependencies --enable-tests -ftrypandoc -fembed_data_files --enable-benchmarks
17 cabal configure --enable-library-profiling --enable-executable-profiling --enable-optimization --enable-tests
27 pandoc --filter extract-changes.hs changelog -t markdown_github | pbcopy
34 stack install --test --stack-yaml stack.full.yaml
38 rm -rf "pandoc-${version}"
39 tar xvzf dist/pandoc-${version}.tar.gz
41 stack setup && stack test && cd .. && rm -rf "pandoc-${version}"
43.travis.yml: pandoc.cabal make_travis_yml.hs
44 runghc make_travis_yml.hs $< > $@
52winpkg: pandoc-$(version)-windows.msi
54pandoc-$(version)-windows.msi:
55 wget 'https://ci.appveyor.com/api/projects/jgm/pandoc/artifacts/windows/pandoc.msi?branch=master' -O pandoc.msi && \
56 osslsigncode sign -pkcs12 ~/Private/ComodoCodeSigning.exp2017.p12 -in pandoc.msi -i http://johnmacfarlane.net/ -t http://timestamp.comodoca.com/ -out $@ -askpass
59man/pandoc.1: README man/pandoc.1.template
60 pandoc $< -t man -s --template man/pandoc.1.template \
61 --filter man/capitalizeHeaders.hs \
62 --filter man/removeNotes.hs \
63 --filter man/removeLinks.hs \
64 --variable version="pandoc $(version)" \
68 curl https://api.github.com/repos/jgm/pandoc/releases | \
69 jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
74.PHONY: deps quick full install clean test bench changes_github osxpkg 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