From f1ec53a41f9d1fc0761a92476e20f214b9b75d79 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 25 Jul 2014 15:48:15 -0400 Subject: [PATCH] Fix a haddock comment and doc building in the makefile. --- makefile | 4 +++- src/TSN/Team.hs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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) -- 2.44.2