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
32 rm -rf "pandoc-${version}"
33 tar xvzf dist/pandoc-${version}.tar.gz
35 cabal configure ${CABALARGS} && cabal build && cabal test && cd .. && rm -rf "pandoc-${version}"
43man/pandoc.1: README man/pandoc.1.template
44 pandoc $< -t man -s --template man/pandoc.1.template \
45 --filter man/capitalizeHeaders.hs \
46 --filter man/removeNotes.hs \
47 --filter man/removeLinks.hs \
51 curl https://api.github.com/repos/jgm/pandoc/releases | \
52 jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"'
57.PHONY: deps quick full install clean test bench 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