Commit 191ff68c authored by Iustin Pop's avatar Iustin Pop
Browse files

Move hlint rule to the main Makefile

Since we do have errors currently, this is not enabled from the main
'make lint' rule. That will get cleaned up later.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent ec8379bd
......@@ -60,6 +60,7 @@
......@@ -126,7 +126,8 @@ CLEANFILES = \
stamp-srclinks \
$(nodist_pkgpython_PYTHON) \
.hpc/*.mix htools/*.tix
.hpc/*.mix htools/*.tix \
# BUILT_SOURCES should only be used as a dependency on phony targets. Otherwise
# it'll cause the target to rebuild every time.
......@@ -943,6 +944,11 @@ lint: $(BUILT_SOURCES)
PYTHONPATH=$(abs_top_srcdir) $(PYLINT) $(LINT_OPTS) \
--rcfile ../pylintrc $(patsubst qa/,%,$(qa_scripts))
.PHONY: hlint
hlint: $(HSRCS2)
if tty -s; then C="-c"; else C=""; fi; \
hlint --report=doc/hs-lint.html $$C htools
# a dist hook rule for updating the vcs-version file; this is
# hardcoded due to where it needs to build the file...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment