.PHONY : test doc dist hlint
$(BIN): $(PN).cabal $(SRCS)
- runghc Setup.hs configure \
- --user \
- --prefix=/ \
- --flags=${FLAGS}
+ runghc Setup.hs configure --user --prefix=/
runghc Setup.hs build
$(DOCTESTS_BIN): $(SRCS) test/Doctests.hs
- runghc Setup.hs configure \
- --user \
- --prefix=/ \
- --flags=${FLAGS} \
- --enable-tests
+ runghc Setup.hs configure --user --prefix=/ --enable-tests
runghc Setup.hs build
$(TESTSUITE_BIN): $(SRCS) test/TestSuite.hs
- runghc Setup.hs configure \
- --user \
- --prefix=/ \
- --flags=${FLAGS} \
- --enable-tests
+ runghc Setup.hs configure --user --prefix=/ --enable-tests
runghc Setup.hs build
clean:
doc: dist/doc
dist/doc: $(PN).cabal $(SRCS)
- runghc Setup.hs configure --user --prefix=/ --flags=${FLAGS}
+ runghc Setup.hs configure --user --prefix=/
runghc Setup.hs haddock --all \
--hyperlink-source \
--haddock-options="--ignore-all-exports"