HLint.hs: $(shell find . -name '*.hs' -not -name 'HLint.hs')
sed -i -e '/^-- BEGIN: generated hints/,/^-- END: Generated by hlint/d' HLint.hs
echo '-- BEGIN: generated hints' >> HLint.hs
- hlint --find . | grep '^'infix | sort -u >> HLint.hs
+ hlint --find . | sed -ne 's/^- infix: \(.*\)/\1/p' | sort -u >>HLint.hs
echo '-- END: generated hints' >> HLint.hs
lint: HLint.hs