diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-03-03 23:12:07 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-03-03 23:12:07 +0000 |
commit | 1956cf715f00382c822141561951590cb0ed8c3e (patch) | |
tree | 5aeb97a12e5183e64f99c43657d0358fdaadb9e2 /ghc.mk | |
parent | 51e11e272952299b5be0a8de6a38ed41a0f4855a (diff) |
Follow changes in GHC build system
Diffstat (limited to 'ghc.mk')
-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" |