]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Fix a haddock comment and doc building in the makefile.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 25 Jul 2014 19:48:15 +0000 (15:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 25 Jul 2014 19:48:15 +0000 (15:48 -0400)
makefile
src/TSN/Team.hs

index 6e5b0e5c37ce0e0a9a1deb2a4a7b2bcf456b2651..4a1845b6595ffbebdedaf278448cefdde836a285 100644 (file)
--- 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
index 7ca326d80203b613467a57aec5a8c311cddb56c3..bb73efcf975cf11c949acd92e04db8296eecdae9 100644 (file)
@@ -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)