2 BIN = dist/build/$(PN)/$(PN)
3 SRCS := $(shell find src/ -type f -name '*.hs')
5 .PHONY : dist doc hlint
7 $(BIN): $(PN).cabal $(SRCS)
9 runghc Setup.hs configure --user --prefix=/
12 profile: $(PN).cabal $(SRCS)
14 runghc Setup.hs configure --user \
15 --enable-executable-profiling \
20 runghc Setup.hs configure --user --prefix=/
21 runghc Setup.hs hscolour --all
22 runghc Setup.hs haddock --all \
24 --haddock-options="--ignore-all-exports"
33 runghc Setup.hs configure --prefix=/
34 TAR_OPTIONS="--format=ustar" runghc Setup.hs sdist
37 hlint --ignore="Use camelCase" \
38 --ignore="Redundant bracket" \