Remove unused install_headers and INSTALL_HEADERS
authorIan Lynagh <igloo@earth.li>
Fri, 2 Dec 2011 22:25:52 +0000 (22:25 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 2 Dec 2011 22:25:52 +0000 (22:25 +0000)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index d170abd..5f9661e 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -765,7 +765,7 @@ TAGS: TAGS_compiler
 # -----------------------------------------------------------------------------
 # Installation
 
-install: install_libs install_packages install_libexecs install_headers \
+install: install_libs install_packages install_libexecs \
          install_libexec_scripts install_bins install_topdirs
 ifeq "$(HADDOCK_DOCS)" "YES"
 install: install_docs
@@ -824,12 +824,6 @@ install_topdirs: $(INSTALL_TOPDIRS)
                $(call INSTALL_PROGRAM,$(INSTALL_BIN_OPTS),$$i,"$(DESTDIR)$(topdir)"); \
        done
 
-install_headers: $(INSTALL_HEADERS)
-       $(call INSTALL_DIR,"$(DESTDIR)$(ghcheaderdir)")
-       for i in $(INSTALL_HEADERS); do \
-               $(call INSTALL_HEADER,$(INSTALL_OPTS),$$i,"$(DESTDIR)$(ghcheaderdir)"); \
-       done
-
 install_docs: $(INSTALL_DOCS)
        $(call INSTALL_DIR,"$(DESTDIR)$(docdir)")
 ifneq "$(INSTALL_DOCS)" ""
@@ -935,7 +929,6 @@ $(eval $(call bindist,.,\
     $(includes_H_FILES) \
     $(includes_DERIVEDCONSTANTS) \
     $(includes_GHCCONSTANTS) \
-    $(INSTALL_HEADERS) \
     $(INSTALL_LIBEXECS) \
     $(INSTALL_LIBEXEC_SCRIPTS) \
     $(INSTALL_TOPDIRS) \