blob: 7628ab19625daf69fb81c7720ddbb291930ffadd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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
all:
cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
prep: pandoc-types citeproc-hs
cabal-dev install-deps --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
|