diff options
author | Ian Lynagh <igloo@earth.li> | 2009-10-25 17:26:40 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-10-25 17:26:40 +0000 |
commit | 7b5ba19752328af61d189b1f03cfbe30288cf74f (patch) | |
tree | 4a8ad6e0bf7ed8729004d6fa237b9f17337cfbf9 | |
parent | a1ba51db4b4721ceafbdc13338f339bedbecb78d (diff) |
Fix installation in the GHC build system
-rw-r--r-- | ghc.mk | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -24,9 +24,16 @@ utils/haddock_dist_MODULES += Paths_haddock install: install_utils/haddock_html .PHONY: install_utils/haddock_html install_utils/haddock_html: - "$(RM)" $(RM_OPTS) -r $(DESTDIR)$(docdir)/html $(INSTALL_DIR) $(DESTDIR)$(docdir)/html "$(CP)" -R utils/haddock/html $(DESTDIR)$(docdir)/html +install: install_utils/haddock_data +.PHONY: install_utils/haddock_data +install_utils/haddock_data: + $(INSTALL_DIR) $(DESTDIR)$(ghclibdir)/html + for i in utils/haddock/html/*; do \ + $(INSTALL_DATA) $(INSTALL_OPTS) $$i $(DESTDIR)$(ghclibdir)/html; \ + done + BINDIST_EXTRAS += $(addprefix utils/haddock/,html/*) |