utils/haddock_USES_CABAL = YES utils/haddock_PACKAGE = haddock utils/haddock_CONFIGURE_OPTS = --flag in-ghc-tree utils/haddock_dist_PROG = haddock # XXX This is a temporary hack: utils/haddock_HC_OPTS += -Wwarn $(eval $(call build-prog,utils/haddock,dist,2)) utils/haddock_dist_MODULES += Paths_haddock