diff --git a/ghc.mk b/ghc.mk index d1dbd2dd330a29d6ddeadd2bf6119fa6f0ceea0f..c5a28c8b7a55c8c455d0cd590f960f51e2f50365 100644 --- a/ghc.mk +++ b/ghc.mk @@ -22,6 +22,10 @@ $(INPLACE_LIB)/latex: endif +ifeq "$(HADDOCK_DOCS)" "NO" +utils/haddock_dist_NOT_NEEDED = YES +endif + $(eval $(call build-prog,utils/haddock,dist,2)) utils/haddock_dist_MODULES += Paths_haddock