diff options
author | Ian Lynagh <igloo@earth.li> | 2011-01-11 19:48:38 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-01-11 19:48:38 +0000 |
commit | fd6de028d045654e42dc375e8c73b074c530f883 (patch) | |
tree | 14e96b11acfa23a9ef55e50f6e9d00b480e4f97f /includes/ghc.mk | |
parent | 6ea06bbf08517d9805feb82df65cc56ecbaf23a4 (diff) | |
download | haskell-fd6de028d045654e42dc375e8c73b074c530f883.tar.gz |
Fix installation on cygwin
Diffstat (limited to 'includes/ghc.mk')
-rw-r--r-- | includes/ghc.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index eeb52bac4f..374649330f 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -191,9 +191,9 @@ install: install_includes .PHONY: install_includes install_includes : $(call INSTALL_DIR,"$(DESTDIR)$(ghcheaderdir)") - for d in $(includes_H_SUBDIRS); do \ - $(call INSTALL_DIR,"$(DESTDIR)$(ghcheaderdir)/$$d"); \ - $(call INSTALL_HEADER,$(INSTALL_OPTS),includes/$$d/*.h,"$(DESTDIR)$(ghcheaderdir)/$$d/"); \ - done + $(foreach d,$(includes_H_SUBDIRS), \ + $(call INSTALL_DIR,"$(DESTDIR)$(ghcheaderdir)/$d") && \ + $(call INSTALL_HEADER,$(INSTALL_OPTS),includes/$d/*.h,"$(DESTDIR)$(ghcheaderdir)/$d/") && \ + ) true $(call INSTALL_HEADER,$(INSTALL_OPTS),$(includes_H_CONFIG) $(includes_H_PLATFORM),"$(DESTDIR)$(ghcheaderdir)/") |