summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-03-21 16:06:39 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-25 14:02:29 -0400
commit3769e3a829f4514f82ce7f7d218867f1d69d3d38 (patch)
treefdb7a6352c32368f1d80e370c46fe4159507ec4f /rules
parent8e07368faf5090a5ac803f0e4fa3a5a2a4aba05c (diff)
downloadhaskell-3769e3a829f4514f82ce7f7d218867f1d69d3d38.tar.gz
Update Wiki URLs to point to GitLab
This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
Diffstat (limited to 'rules')
-rw-r--r--rules/add-dependency.mk4
-rw-r--r--rules/all-target.mk4
-rw-r--r--rules/bindist.mk4
-rw-r--r--rules/build-dependencies.mk4
-rw-r--r--rules/build-package-data.mk4
-rw-r--r--rules/build-package-way.mk4
-rw-r--r--rules/build-package.mk4
-rw-r--r--rules/build-prog.mk4
-rw-r--r--rules/c-objs.mk4
-rw-r--r--rules/c-sources.mk4
-rw-r--r--rules/c-suffix-rules.mk4
-rw-r--r--rules/clean-target.mk4
-rw-r--r--rules/cmm-objs.mk4
-rw-r--r--rules/cmm-suffix-rules.mk4
-rw-r--r--rules/dependencies.mk4
-rw-r--r--rules/distdir-opts.mk4
-rw-r--r--rules/distdir-way-opts.mk4
-rw-r--r--rules/foreachLibrary.mk4
-rw-r--r--rules/haddock.mk4
-rw-r--r--rules/hi-rule.mk6
-rw-r--r--rules/hs-objs.mk4
-rw-r--r--rules/hs-sources.mk4
-rw-r--r--rules/hs-suffix-rules-srcdir.mk4
-rw-r--r--rules/hs-suffix-way-rules-srcdir.mk4
-rw-r--r--rules/hs-suffix-way-rules.mk4
-rw-r--r--rules/include-dependencies.mk4
-rw-r--r--rules/includes-sources.mk4
-rw-r--r--rules/library-path.mk4
-rw-r--r--rules/make-command.mk4
-rw-r--r--rules/manual-package-config.mk4
-rw-r--r--rules/package-config.mk4
-rw-r--r--rules/prof.mk4
-rw-r--r--rules/sdist-ghc-file.mk4
-rw-r--r--rules/shell-wrapper.mk4
-rw-r--r--rules/sphinx.mk4
-rw-r--r--rules/trace.mk4
-rw-r--r--rules/way-prelims.mk4
37 files changed, 75 insertions, 75 deletions
diff --git a/rules/add-dependency.mk b/rules/add-dependency.mk
index 037f7f1a26..1b5a666e86 100644
--- a/rules/add-dependency.mk
+++ b/rules/add-dependency.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/all-target.mk b/rules/all-target.mk
index 769ab99f6d..52fbc02b1e 100644
--- a/rules/all-target.mk
+++ b/rules/all-target.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/bindist.mk b/rules/bindist.mk
index 49d8aa4d34..af3b144222 100644
--- a/rules/bindist.mk
+++ b/rules/bindist.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 1905a0e4d6..3a7491fe51 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index af1ead8099..49c54461d2 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index 122ec60a90..187d9c848d 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package.mk b/rules/build-package.mk
index c29155c582..e8af273ad0 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 4ea93e93d5..bc37110bd5 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-objs.mk b/rules/c-objs.mk
index b43cd0bff6..415998ab60 100644
--- a/rules/c-objs.mk
+++ b/rules/c-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-sources.mk b/rules/c-sources.mk
index f9a99bdbc8..87ee7b23a5 100644
--- a/rules/c-sources.mk
+++ b/rules/c-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk
index 9b4e3de2fc..d405d155c0 100644
--- a/rules/c-suffix-rules.mk
+++ b/rules/c-suffix-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/clean-target.mk b/rules/clean-target.mk
index 6a7704657a..8b37624af7 100644
--- a/rules/clean-target.mk
+++ b/rules/clean-target.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/cmm-objs.mk b/rules/cmm-objs.mk
index 350e283837..dc517cbf34 100644
--- a/rules/cmm-objs.mk
+++ b/rules/cmm-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/cmm-suffix-rules.mk b/rules/cmm-suffix-rules.mk
index 2832411938..ecf7bcba4b 100644
--- a/rules/cmm-suffix-rules.mk
+++ b/rules/cmm-suffix-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/dependencies.mk b/rules/dependencies.mk
index 8c029316f6..4aae78e4e3 100644
--- a/rules/dependencies.mk
+++ b/rules/dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk
index b8f10bb2ca..fe329c1d31 100644
--- a/rules/distdir-opts.mk
+++ b/rules/distdir-opts.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk
index de2e45d4b9..692f21a70f 100644
--- a/rules/distdir-way-opts.mk
+++ b/rules/distdir-way-opts.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/foreachLibrary.mk b/rules/foreachLibrary.mk
index be79fccc52..dddd61a899 100644
--- a/rules/foreachLibrary.mk
+++ b/rules/foreachLibrary.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 37182bcbe6..f0d686194f 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hi-rule.mk b/rules/hi-rule.mk
index 2920609d49..be4a460abe 100644
--- a/rules/hi-rule.mk
+++ b/rules/hi-rule.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
@@ -20,7 +20,7 @@
# they depend on have not changed.
#
# See:
-# http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+# https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
#
# So how do we express this dependency to make? The exact form of
# this rule is quite fragile. Here are some versions that don't work
diff --git a/rules/hs-objs.mk b/rules/hs-objs.mk
index 8af18f4aa0..f46e527343 100644
--- a/rules/hs-objs.mk
+++ b/rules/hs-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-sources.mk b/rules/hs-sources.mk
index 20c286dcbe..1df4ed7a89 100644
--- a/rules/hs-sources.mk
+++ b/rules/hs-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index e909db5b42..d7143053ee 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-way-rules-srcdir.mk b/rules/hs-suffix-way-rules-srcdir.mk
index 18bf35324e..78c1be18f4 100644
--- a/rules/hs-suffix-way-rules-srcdir.mk
+++ b/rules/hs-suffix-way-rules-srcdir.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-way-rules.mk b/rules/hs-suffix-way-rules.mk
index b77806f42d..286e04eee7 100644
--- a/rules/hs-suffix-way-rules.mk
+++ b/rules/hs-suffix-way-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/include-dependencies.mk b/rules/include-dependencies.mk
index e505636a3d..7d4c38b73b 100644
--- a/rules/include-dependencies.mk
+++ b/rules/include-dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/includes-sources.mk b/rules/includes-sources.mk
index 369985f073..fca114bffd 100644
--- a/rules/includes-sources.mk
+++ b/rules/includes-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/library-path.mk b/rules/library-path.mk
index dbfd4be226..9a398eebf0 100644
--- a/rules/library-path.mk
+++ b/rules/library-path.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/make-command.mk b/rules/make-command.mk
index 761bdfc5f7..17d0921525 100644
--- a/rules/make-command.mk
+++ b/rules/make-command.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/manual-package-config.mk b/rules/manual-package-config.mk
index fe3a5e3b08..2fc6dea5d3 100644
--- a/rules/manual-package-config.mk
+++ b/rules/manual-package-config.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/package-config.mk b/rules/package-config.mk
index a75f611517..4d9737f05d 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/prof.mk b/rules/prof.mk
index b278142a6d..5733b415ca 100644
--- a/rules/prof.mk
+++ b/rules/prof.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/sdist-ghc-file.mk b/rules/sdist-ghc-file.mk
index d6a70e10fb..99264488c4 100644
--- a/rules/sdist-ghc-file.mk
+++ b/rules/sdist-ghc-file.mk
@@ -3,8 +3,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index bdab6e289d..37d01e6ecd 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index 32ef3e4fb5..43dff6177b 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/trace.mk b/rules/trace.mk
index 860cd8f245..ec92fea1d5 100644
--- a/rules/trace.mk
+++ b/rules/trace.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/way-prelims.mk b/rules/way-prelims.mk
index 75a23df632..4709149dff 100644
--- a/rules/way-prelims.mk
+++ b/rules/way-prelims.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------