From: Michael Orlitzky Date: Fri, 25 Jul 2014 19:48:15 +0000 (-0400) Subject: Fix a haddock comment and doc building in the makefile. X-Git-Tag: 0.0.9~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f1ec53a41f9d1fc0761a92476e20f214b9b75d79;p=dead%2Fhtsn-import.git Fix a haddock comment and doc building in the makefile. --- diff --git a/makefile b/makefile index 6e5b0e5..4a1845b 100644 --- a/makefile +++ b/makefile @@ -17,13 +17,15 @@ profile: $(PN).cabal $(SRCS) $(BIN) --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 diff --git a/src/TSN/Team.hs b/src/TSN/Team.hs index 7ca326d..bb73efc 100644 --- a/src/TSN/Team.hs +++ b/src/TSN/Team.hs @@ -51,7 +51,7 @@ data Team = -- | 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)