haskell-relational-record/devel/GNUmakefile

31 lines
647 B
Makefile
Raw Normal View History

2013-05-21 06:35:21 +04:00
all: clean build
haddock_opt = --hyperlink-source --haddock-options=--css=../devel/black.css
2013-05-21 06:35:21 +04:00
build:
cabal configure
2013-05-27 12:12:55 +04:00
cabal build --ghc-option=-Wall
cabal haddock $(haddock_opt)
haddock:
cabal configure
cabal haddock $(haddock_opt)
2013-05-30 12:13:56 +04:00
check:
cabal check
2013-05-09 09:04:15 +04:00
wc:
2015-11-11 05:47:13 +03:00
make clean-hs
test ! -d src || find src -name '*.hs' | xargs wc
2013-05-09 09:04:15 +04:00
clean:
2015-11-11 05:47:13 +03:00
make clean-hs
cabal clean
2014-08-13 10:30:42 +04:00
[ ! -d .debian-build ] || rm -r .debian-build
2017-01-22 07:21:54 +03:00
[ ! -d .stack-work ] || rm -r .stack-work
2016-02-09 03:17:49 +03:00
test ! -d src || find src \( -name '*.o' -o -name '*.hi' -o -name '*.dyn_o' -o -name '*.dyn_hi' \) -exec rm {} \;
2015-11-11 05:47:13 +03:00
clean-hs:
test ! -d src || find src -name '*_flymake.hs' -exec rm {} \;