Revision 1cced301

b/Makefile.am
1699 1699
.PHONY: hlint
1700 1700
hlint: $(HS_BUILT_SRCS) src/lint-hints.hs
1701 1701
	@test -n "$(HLINT)" || { echo 'hlint' not found during configure; exit 1; }
1702
	@rm -f doc/hs-lint.html
1702 1703
	if tty -s; then C="-c"; else C=""; fi; \
1703 1704
	$(HLINT) --utf8 --report=doc/hs-lint.html --cross $$C \
1704 1705
	  --ignore "Use first" \
......
1707 1708
	  --ignore "Reduce duplication" \
1708 1709
	  --hint src/lint-hints \
1709 1710
	  $(filter-out $(HLINT_EXCLUDES),$(HS_LIBTEST_SRCS) $(HS_PROG_SRCS))
1711
	@if [ ! -f doc/hs-lint.html ]; then \
1712
	  echo "All good" > doc/hs-lint.html; \
1713
	fi
1710 1714

  
1711 1715
# a dist hook rule for updating the vcs-version file; this is
1712 1716
# hardcoded due to where it needs to build the file...

Also available in: Unified diff