diff options
-rw-r--r-- | ghc.mk | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6,7 +6,13 @@ utils/haddock_dist_SHELL_WRAPPER = YES utils/haddock_dist_INSTALL = YES utils/haddock_dist_INSTALL_INPLACE = YES utils/haddock_dist_INSTALL_SHELL_WRAPPER_NAME = haddock-ghc-$(ProjectVersion) -utils/haddock_dist_PROG = haddock$(exeext) +utils/haddock_dist_PROGNAME = haddock + +ifeq "$(HADDOCK_DOCS)" "NO" +utils/haddock_dist_NOT_NEEDED = YES +endif + +$(eval $(call build-prog,utils/haddock,dist,2)) ifneq "$(BINDIST)" "YES" @@ -22,12 +28,6 @@ $(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 ifeq "$(HADDOCK_DOCS)" "YES" |