Commit fd6de028 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix installation on cygwin

parent 6ea06bbf
......@@ -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)/")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment