From c16f3297401f8f1f0f5d289867725ad185ac5a40 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 30 May 2019 11:33:05 -0400 Subject: make: Fix bindist installation This fixes a few vestigial references to `settings` left over from !655. Fixes #16715. --- ghc.mk | 4 +++- ghc/ghc.mk | 7 ++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ghc.mk b/ghc.mk index 5f1d856ee5..3e024acc85 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1021,6 +1021,8 @@ $(eval $(call bindist-list,.,\ $(BINDIST_LIBS) \ $(BINDIST_HI) \ $(BINDIST_EXTRAS) \ + includes/Makefile \ + $(includes_SETTINGS) \ $(includes_H_FILES) \ $(includes_DERIVEDCONSTANTS) \ $(includes_GHCCONSTANTS) \ @@ -1037,7 +1039,7 @@ $(eval $(call bindist-list,.,\ $(wildcard compiler/stage2/doc) \ $(wildcard libraries/*/dist-install/doc/) \ $(wildcard libraries/*/*/dist-install/doc/) \ - $(filter-out settings llvm-targets llvm-passes,$(INSTALL_LIBS)) \ + $(filter-out llvm-targets llvm-passes,$(INSTALL_LIBS)) \ $(RTS_INSTALL_LIBS) \ $(filter-out %/project.mk mk/config.mk %/mk/install.mk,$(MAKEFILE_LIST)) \ mk/project.mk \ diff --git a/ghc/ghc.mk b/ghc/ghc.mk index 9747e34dcc..b1f9f57d81 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -129,10 +129,7 @@ all_ghc_stage1 : $(GHC_STAGE1) all_ghc_stage2 : $(GHC_STAGE2) all_ghc_stage3 : $(GHC_STAGE3) -settings : $(includes_SETTINGS) - "$(CP)" $< $@ - -$(INPLACE_LIB)/settings : settings +$(INPLACE_LIB)/settings : $(includes_SETTINGS) "$(CP)" $< $@ $(INPLACE_LIB)/llvm-targets : llvm-targets @@ -171,7 +168,7 @@ $(GHC_STAGE2) : $(foreach w,$(GhcLibWays),libraries/base/dist-install/build/GHC/ endif -INSTALL_LIBS += settings +INSTALL_LIBS += $(includes_SETTINGS) INSTALL_LIBS += llvm-targets INSTALL_LIBS += llvm-passes -- cgit v1.2.1