7 install: cabal/install lib/install cli/install web/install
9 cabal update $(CABAL_FLAGS) $(CABAL_UPDATE_FLAGS)
10 cabal install -v $(CABAL_FLAGS) $(CABAL_INSTALL_FLAGS) cabal
13 cabal install -v --force-reinstalls $(CABAL_FLAGS) $(CABAL_INSTALL_FLAGS) ./lib
15 cabal install -v --force-reinstalls $(CABAL_FLAGS) $(CABAL_INSTALL_FLAGS) ./cli
17 cabal install -v --force-reinstalls $(CABAL_FLAGS) $(CABAL_INSTALL_FLAGS) ./web
22 test: lib/test cli/test web/test
24 (cd lib && cabal test --show-details=always $(CABAL_FLAGS) $(CABAL_TEST_FLAGS))
26 (cd cli && cabal test --show-details=always $(CABAL_FLAGS) $(CABAL_TEST_FLAGS))
28 (cd web && cabal test --show-details=always $(CABAL_FLAGS) $(CABAL_TEST_FLAGS))
29 %/install/test: CABAL_INSTALL_FLAGS+=--enable-tests
30 %/install/test: %/install
37 doc: doc/xhtml lib/doc cli/doc web/doc
39 (cd lib && cabal haddock --hyperlink-source $(CABAL_FLAGS) $(CABAL_HADDOCK_FLAGS))
41 (cd cli && cabal haddock --hyperlink-source $(CABAL_FLAGS) $(CABAL_HADDOCK_FLAGS))
43 (cd web && cabal haddock --hyperlink-source $(CABAL_FLAGS) $(CABAL_HADDOCK_FLAGS))
50 %/dev: CABAL_INSTALL_FLAGS+=-fdev