projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ea06bb
)
Fix installation on cygwin
author
Ian Lynagh
<igloo@earth.li>
Tue, 11 Jan 2011 19:48:38 +0000
(19:48 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 11 Jan 2011 19:48:38 +0000
(19:48 +0000)
includes/ghc.mk
patch
|
blob
|
history
diff --git
a/includes/ghc.mk
b/includes/ghc.mk
index
eeb52ba
..
3746493
100644
(file)
--- 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)")
.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)/")
$(call INSTALL_HEADER,$(INSTALL_OPTS),$(includes_H_CONFIG) $(includes_H_PLATFORM),"$(DESTDIR)$(ghcheaderdir)/")