Commits

Anonymous committed e853dc6

Fix makefile.

Comments (0)

Files changed (1)

 %.o: %.hs
 	ghc -Wall -c $<
 
-all: build hlint cabal_build
+all: build hlint cabal-build
 
 build: $(objs)
 
 hlint:
 	hlint --utf8 $(sources)
 
-cabal_build:
+cabal-build:
+	cabal clean
 	cabal configure
 	cabal build
-	cabal haddock
+	cabal haddock \
+		--internal \
+		--hyperlink-source
 
 clean:
 	$(RM) $(objs) $(interfaces)