git.iko.soy/typeable/pandoc
on 2bc32bc help sign in
typeable/pandoc/Makefile
33 lines 994 B history raw
1# This Makefile is for development only. It requires cabal-dev.
2# To get started, do 'make prep' and then 'make' or 'make quick'.
4.PHONY: prep, all, quick, bench, clean, install
6all:
7 cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
9prof:
10 cabal-dev configure --enable-tests --enable-library-profiling --enable-executable-profiling && cabal-dev build
12prep: pandoc-types citeproc-hs
13 cabal-dev install-deps --enable-library-profiling --enable-tests --enable-benchmarks
15quick:
16 cabal-dev configure --enable-tests --disable-optimization && cabal-dev build
18bench:
19 cabal-dev configure --enable-benchmarks && cabal-dev build
21clean:
22 cabal-dev clean && rm -rf pandoc-types citeproc-hs
24pandoc-types:
25 git clone https://github.com/jgm/pandoc-types && \
26 cabal-dev add-source pandoc-types
28citeproc-hs: pandoc-types
29 git clone https://github.com/jgm/citeproc-hs && \
30 cabal-dev add-source citeproc-hs
32install:
33 cabal-dev install --enable-tests --enable-benchmarks