]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - cabal-package.mk
DefaultExtensionMap is now generated with TH.
[Lucu.git] / cabal-package.mk
index e4121394d75de781787a0b046c55cc660a380060..cc534f4648d16242d8d4f33147d30acee9b61f7d 100644 (file)
@@ -18,6 +18,7 @@ HPC      ?= hpc
 DITZ     ?= ditz
 
 CONFIGURE_ARGS ?= --disable-optimization
+HLINT_OPTS     ?= --cross --report=dist/report.html
 
 SETUP_FILE := $(wildcard Setup.*hs)
 CABAL_FILE := $(wildcard *.cabal)
@@ -113,11 +114,11 @@ fixme:
                \( -name '*.c'   -or -name '*.h'   -or \
                   -name '*.hs'  -or -name '*.lhs' -or \
                   -name '*.hsc' -or -name '*.cabal' \) \
-               -exec egrep -i '(fixme|thinkme)' {} \+ \
+               -exec egrep 'FIXME|THINKME|TODO' {} \+ \
                || echo 'No FIXME or THINKME found.'
 
 lint:
-       $(HLINT) . --cross --report
+       $(HLINT) . $(HLINT_OPTS)
 
 push: push-repo push-ditz push-doc