[Git][ghc/ghc][master] make: remove unused Makefiles from legacy make build system
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: ec3cf767 by Cheng Shao at 2026-01-08T06:24:31-05:00 make: remove unused Makefiles from legacy make build system This patch removes unused Makefiles from legacy make build system; now they are never used by hadrian in any way, and they already include common boilerplate mk files that are long gone in the make build system removal, hence the housecleaning. Co-authored-by: Codex <codex@openai.com> - - - - - 14 changed files: - − docs/Makefile - − docs/storage-mgt/Makefile - − docs/users_guide/Makefile - − driver/Makefile - − driver/ghc/Makefile - − driver/ghci/Makefile - − driver/haddock/Makefile - − ghc/Makefile - − libraries/Makefile - − libraries/doc/Makefile - − linters/lint-codes/Makefile - − linters/lint-notes/Makefile - − rts/Makefile - − rts/include/Makefile Changes: ===================================== docs/Makefile deleted ===================================== @@ -1,4 +0,0 @@ -dir = docs -TOP = .. -include $(TOP)/mk/sub-makefile.mk - ===================================== docs/storage-mgt/Makefile deleted ===================================== @@ -1,42 +0,0 @@ -TOP = ../.. -include $(TOP)/mk/boilerplate.mk - -# General makefile for Latex stuff - -dvi: sm.dvi rp.dvi ldv.dvi -ps: sm.ps rp.ps ldv.ps - -######## General rules -.SUFFIXES: -.PRECIOUS: %.tex %.ps %.bbl - -#%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb *.fig))) $(wildcard *.bib) -%.dvi: %.tex $(addsuffix .tex, $(basename $(wildcard *.verb))) $(wildcard *.bib) - latex $< - @if grep -s "\citation" $*.aux; then bibtex $*; fi - latex $< - latex $< - -%.ps: %.dvi - dvips -f < $< > $@ - -clean: - $(RM) *.aux *.log - -distclean: clean - $(RM) *.dvi *.ps *.bbl *.blg *.gz - -maintainer-clean: distclean - -include $(TOP)/mk/bindist.mk - -# dummy targets -all: -boot: -install: -install-docs: -html: -chm: -HxS: - -# End of file ===================================== docs/users_guide/Makefile deleted ===================================== @@ -1,4 +0,0 @@ -dir = docs/users_guide -TOP = ../.. - -include $(TOP)/mk/sub-makefile.mk ===================================== driver/Makefile deleted ===================================== @@ -1,15 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = driver -TOP = .. -include $(TOP)/mk/sub-makefile.mk ===================================== driver/ghc/Makefile deleted ===================================== @@ -1,3 +0,0 @@ -dir=driver/ghc -TOP=../.. -include $(TOP)/mk/sub-makefile.mk ===================================== driver/ghci/Makefile deleted ===================================== @@ -1,15 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = driver/ghci -TOP = ../.. -include $(TOP)/mk/sub-makefile.mk ===================================== driver/haddock/Makefile deleted ===================================== @@ -1,3 +0,0 @@ -dir=driver/haddock -TOP=../.. -include $(TOP)/mk/sub-makefile.mk ===================================== ghc/Makefile deleted ===================================== @@ -1,16 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = ghc - -include ../mk/compiler-ghc.mk - ===================================== libraries/Makefile deleted ===================================== @@ -1,16 +0,0 @@ -dir = libraries -TOP = .. -SPEC_TARGETS = 1 -include $(TOP)/mk/sub-makefile.mk - -.PHONY: 1 -1 : - +$(TOPMAKE) stage1_libs - -.PHONY: extra-help -help : extra-help -extra-help : - @echo " make 1" - @echo - @echo " Build all libraries that are built by the stage1 GHC" - @echo ===================================== libraries/doc/Makefile deleted ===================================== @@ -1,4 +0,0 @@ -TOP=.. -include $(TOP)/mk/boilerplate.mk -XML_DOC=libraries -include $(TOP)/mk/target.mk ===================================== linters/lint-codes/Makefile deleted ===================================== @@ -1,15 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = linters/lint-codes -TOP = ../.. -include $(TOP)/mk/sub-makefile.mk ===================================== linters/lint-notes/Makefile deleted ===================================== @@ -1,17 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = linters/lint-notes -TOP = ../.. -include $(TOP)/mk/sub-makefile.mk - -FAST_MAKE_OPTS += stage=none ===================================== rts/Makefile deleted ===================================== @@ -1,17 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = rts -TOP = .. -include $(TOP)/mk/sub-makefile.mk - -FAST_MAKE_OPTS += stage=none ===================================== rts/include/Makefile deleted ===================================== @@ -1,15 +0,0 @@ -# ----------------------------------------------------------------------------- -# -# (c) 2009 The University of Glasgow -# -# This file is part of the GHC build system. -# -# To understand how the build system works and how to modify it, see -# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture -# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying -# -# ----------------------------------------------------------------------------- - -dir = rts/include -TOP = ../.. -include $(TOP)/mk/sub-makefile.mk View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ec3cf767b2311184eef5a00ac86f96c4... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ec3cf767b2311184eef5a00ac86f96c4... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)