--prefix=/
runghc Setup.hs build
-doc: $(PN).cabal $(SRCS)
+dist/doc: $(PN).cabal $(SRCS)
runghc Setup.hs configure --user --prefix=/
runghc Setup.hs hscolour --all
runghc Setup.hs haddock --all \
--hyperlink-source \
--haddock-options="--ignore-all-exports"
+doc: dist/doc
+
# The MLB schema is identical to the regular one.
doc/dbschema/MLB_earlylineXML.png: doc/dbschema/earlylineXML.png
-- | A wrapper around 'Team' that lets us distinguish between home and
-- away teams. See also 'HTeam'. \"V\" (visiting) was chosen instead
--- of \"A\" (away) simply because \"vteam" looks better than
+-- of \"A\" (away) simply because \"vteam\" looks better than
-- \"ateam\". This is purely for type-safety.
--
newtype VTeam = VTeam { vteam :: Team } deriving (Eq, Show)