pandoc/Makefile
John MacFarlane 37c29bfa3d Textile reader: Improved speed of hyphenedWords.
This speeds up the textile  reader by about a factor of 4.
But the reader is still very slow, compared to others readers.
2012-09-06 14:08:59 -07:00

33 lines
959 B
Makefile

# This Makefile is for development only. It requires cabal-dev.
# To get started, do 'make prep' and then 'make' or 'make quick'.
.PHONY: prep, all, quick, bench, clean, install
all:
cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
prof:
cabal-dev configure --enable-tests --enable-library-profiling --enable-executable-profiling && cabal-dev build
prep: pandoc-types citeproc-hs
cabal-dev install-deps --enable-library-profiling --enable-tests --enable-benchmarks
quick:
cabal-dev configure --enable-tests --disable-optimization && cabal-dev build
bench:
cabal-dev configure --enable-benchmarks && cabal-dev build
clean:
cabal-dev clean && rm -rf pandoc-types citeproc-hs
pandoc-types:
git clone https://github.com/jgm/pandoc-types && \
cabal-dev add-source pandoc-types
citeproc-hs: pandoc-types
git clone https://github.com/jgm/citeproc-hs && \
cabal-dev add-source citeproc-hs
install:
cabal-dev install