Fix header installation
authorIan Lynagh <igloo@earth.li>
Fri, 2 Dec 2011 22:24:27 +0000 (22:24 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 2 Dec 2011 22:24:27 +0000 (22:24 +0000)
ghc.mk
includes/ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 0882c5b..d170abd 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -933,6 +933,8 @@ $(eval $(call bindist,.,\
     $(BINDIST_HI) \
     $(BINDIST_EXTRAS) \
     $(includes_H_FILES) \
+    $(includes_DERIVEDCONSTANTS) \
+    $(includes_GHCCONSTANTS) \
     $(INSTALL_HEADERS) \
     $(INSTALL_LIBEXECS) \
     $(INSTALL_LIBEXEC_SCRIPTS) \
index 0ef2f54..cef12dc 100644 (file)
@@ -204,5 +204,5 @@ install_includes :
            $(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) $(includes_GHCCONSTANTS) $(includes_DERIVEDCONSTANTS),"$(DESTDIR)$(ghcheaderdir)/")