More Makefile tweaks.

This commit is contained in:
John MacFarlane 2014-08-18 18:12:49 -07:00
parent 112b2f9f52
commit a79d477667

View file

@ -7,18 +7,18 @@ setup=dist/setup/setup
MANPAGES=man/man1/pandoc.1 man/man5/pandoc_markdown.5
quick:
cabal install --only-dependencies --enable-tests
cabal configure --enable-tests --disable-optimization
cabal build
full:
cabal install --only-dependencies --enable-tests -ftrypandoc -fmake-pandoc-man-pages -fembed_data_files --enable-benchmarks
cabal configure --enable-tests --enable-optimization -ftrypandoc -fmake-pandoc-man-pages -fembed_data_files --enable-benchmarks
cabal build
cabal haddock
deps:
cabal install --only-dependencies --enable-tests -ftrypandoc -fmake-pandoc-man-pages -fembed_data_files --enable-benchmarks
prof:
cabal install --only-dependencies --enable-tests
cabal configure --enable-library-profiling --enable-executable-profiling --enable-optimization --enable-tests
cabal build
@ -56,4 +56,4 @@ clean:
cabal clean
-rm ${MANPAGES}
.PHONY: quick full install man clean test bench haddock sdist osxpkg dist prof
.PHONY: deps quick full install man clean test bench haddock sdist osxpkg dist prof