[Git][ghc/ghc][wip/T16715] make: Fix bindist installation

Ben Gamari gitlab at gitlab.haskell.org
Sun Jun 2 14:05:48 UTC 2019



Ben Gamari pushed to branch wip/T16715 at Glasgow Haskell Compiler / GHC


Commits:
77d18eea by Ben Gamari at 2019-06-02T14:05:40Z
make: Fix bindist installation

This fixes a few vestigial references to `settings` left over from !655.
Fixes #16715.

- - - - -


2 changed files:

- ghc.mk
- ghc/ghc.mk


Changes:

=====================================
ghc.mk
=====================================
@@ -1037,7 +1037,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 \


=====================================
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
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/77d18eea62fdeedc46a8f0b14e1d9d51bcd3a530

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/77d18eea62fdeedc46a8f0b14e1d9d51bcd3a530
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190602/fa54ea06/attachment.html>


More information about the ghc-commits mailing list