summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-08-05 22:29:57 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-25 20:05:31 -0400
commit6fd9b0a1c6b076ef1977db1a2ce8b9505b9a3254 (patch)
tree862b1a0b8ac78ebddea1cbc4eee597ca4acbb241 /docs
parent822b0302f3406bb5e916d72c36566322ba900e76 (diff)
downloadhaskell-6fd9b0a1c6b076ef1977db1a2ce8b9505b9a3254.tar.gz
Drop make build system
Here we at long last remove the `make`-based build system, it having been replaced with the Shake-based Hadrian build system. Users are encouraged to refer to the documentation in `hadrian/doc` and this [1] blog post for details on using Hadrian. Closes #17527. [1] https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/ghc.mk50
1 files changed, 0 insertions, 50 deletions
diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk
deleted file mode 100644
index af051227fc..0000000000
--- a/docs/users_guide/ghc.mk
+++ /dev/null
@@ -1,50 +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
-#
-# -----------------------------------------------------------------------------
-
-
-docs/users_guide_RST_SOURCES := $(wildcard docs/users_guide/*.rst)
-
-$(eval $(call sphinx,docs/users_guide,users_guide))
-
-html_docs/users_guide : docs/users_guide/images/prof_scc.svg
-
-# man page
-docs/users_guide_MAN_RST_SOURCES := docs/users_guide/ghc.rst
-
-MAN_SECTION := 1
-MAN_PAGES := docs/users_guide/build-man/ghc.1
-
-ifneq "$(BINDIST)" "YES"
-$(MAN_PAGES): $(docs/users_guide_MAN_RST_SOURCES)
- $(SPHINXBUILD) -b man -d docs/users_guide/.doctrees-man docs/users_guide docs/users_guide/build-man
-endif
-
-$(eval $(call clean-target,users-guide,manpage,docs/users_guide/.doctrees-man/ docs/users_guide/build-man/))
-
-man : $(MAN_PAGES)
-
-ifeq "$(BUILD_MAN)" "YES"
-ifeq "$(phase)" "final"
-$(eval $(call all-target,users_guide/man,$(MAN_PAGES)))
-endif
-
-INSTALL_MANPAGES += $(MAN_PAGES)
-
-install: install_man
-
-.PHONY: install_man
-install_man: $(MAN_PAGES)
- $(INSTALL_DIR) "$(DESTDIR)$(mandir)"
- $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man$(MAN_SECTION)"
- $(INSTALL_MAN) $(INSTALL_OPTS) $(MAN_PAGES) "$(DESTDIR)$(mandir)/man$(MAN_SECTION)"
-
-endif