diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-03-23 11:54:45 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-03-23 11:54:45 +0000 |
commit | d01384a0eb54a96dfed2dd612fdf26001f7b0012 (patch) | |
tree | 9cf01eb9ed3bb1d4b52d780496fbf67cfcc9efa6 /ghc.mk | |
parent | 64f353b7acd018cfebd222f22b732b8516bf8649 (diff) |
clean up
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -5,17 +5,14 @@ utils/haddock_CONFIGURE_OPTS = --flag in-ghc-tree # XXX This is a temporary hack: utils/haddock_HC_OPTS += -Wwarn utils/haddock_dist_SHELL_WRAPPER = YES +utils/haddock_dist_INSTALL_SHELL_WRAPPER = YES utils/haddock_dist_PROG = haddock -# XXX Is this a hack? Should it be needed? Done another way? -utils/haddock_dist_DATADIR = lib -$(INPLACE_BIN)/$(utils/haddock_dist_PROG): inplace/lib/html +$(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html -inplace/lib/html: +$(INPLACE_LIB)/html: $(RM) -rf $@ - cp -a utils/haddock/html $@ - -INSTALL_LIBEXECS += utils/haddock/dist/build/$(utils/haddock_dist_PROG) + $(CP) -R utils/haddock/html $@ install: install_utils/haddock_html .PHONY: install_utils/haddock_html |