From: PHO Date: Thu, 13 Oct 2011 13:15:12 +0000 (+0900) Subject: new variable: HLINT_OPTS X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=cabal-shared-makefile.git;a=commitdiff_plain;h=c7faabefe2f193148ee2f4679e611f0025bfbd5b new variable: HLINT_OPTS --- diff --git a/cabal-package.mk b/cabal-package.mk index e412139..b2bf655 100644 --- a/cabal-package.mk +++ b/cabal-package.mk @@ -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