diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-19 01:33:21 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-19 01:33:21 +0000 |
commit | 27c3e36448ab7092e0f52be1ce245c7f58a6ebca (patch) | |
tree | 68629c097265933eebc6bc2bc9f9846ff39afe48 /ghc.mk | |
parent | b9daadb11580fe4c29d4a6c2be13db5f0f7cdb4f (diff) |
Follow GHC build system change to the way we call rm
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,11 +12,11 @@ ifneq "$(BINDIST)" "YES" $(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html $(INPLACE_LIB)/latex $(INPLACE_LIB)/html: - "$(RM)" $(RM_OPTS_REC) $@ + $(call removeTrees,$@) "$(CP)" -R utils/haddock/html $@ $(INPLACE_LIB)/latex: - "$(RM)" $(RM_OPTS_REC) $@ + $(call removeTrees,$@) "$(CP)" -R utils/haddock/latex $@ endif @@ -45,7 +45,7 @@ install_utils/haddock_data: .PHONY: install_utils/haddock_link install_utils/haddock_link: - "$(RM)" $(RM_OPTS) "$(DESTDIR)$(bindir)/haddock" + $(call removeFiles,"$(DESTDIR)$(bindir)/haddock") $(LN_S) $(utils/haddock_dist_INSTALL_SHELL_WRAPPER_NAME) "$(DESTDIR)$(bindir)/haddock" BINDIST_EXTRAS += $(addprefix utils/haddock/,$(utils/haddock_dist_DATA_FILES)) |