]> gitweb @ CieloNegro.org - cabal-shared-makefile.git/blobdiff - cabal-package.mk
new variable: HLINT_OPTS
[cabal-shared-makefile.git] / cabal-package.mk
index e4121394d75de781787a0b046c55cc660a380060..b2bf65597e8426a73d30fbdb637f08f33d54f7dd 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)
@@ -117,7 +118,7 @@ fixme:
                || echo 'No FIXME or THINKME found.'
 
 lint:
-       $(HLINT) . --cross --report
+       $(HLINT) . $(HLINT_OPTS)
 
 push: push-repo push-ditz push-doc