[Git][ghc/ghc][wip/T22052] 2 commits: users-guide: Add :ghc-flag: reference

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Mon Aug 15 18:51:18 UTC 2022



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


Commits:
14853adf by Ben Gamari at 2022-08-15T14:49:57-04:00
users-guide: Add :ghc-flag: reference

- - - - -
37c61cc0 by Ben Gamari at 2022-08-15T14:50:34-04:00
hadrian: Place manpage in docroot

This relocates it from docs/ to doc/

- - - - -


2 changed files:

- docs/users_guide/phases.rst
- hadrian/src/Rules/Documentation.hs


Changes:

=====================================
docs/users_guide/phases.rst
=====================================
@@ -467,7 +467,7 @@ defined by your local GHC installation, the following trick is useful:
     .. index::
        single: __GLASGOW_HASKELL_LLVM__
 
-    Only defined when ``-fllvm`` is specified. When GHC is using version
+    Only defined when `:ghc-flag:`-fllvm` is specified. When GHC is using version
     ``x.y.z`` of LLVM, the value of ``__GLASGOW_HASKELL_LLVM__`` is the
     integer ⟨xyy⟩ (if ⟨y⟩ is a single digit, then a leading zero
     is added, so for example when using version 3.7 of LLVM,


=====================================
hadrian/src/Rules/Documentation.hs
=====================================
@@ -41,7 +41,7 @@ archiveRoot :: FilePath
 archiveRoot = docRoot -/- "archives"
 
 manPageBuildPath :: FilePath
-manPageBuildPath = "docs/users_guide/build-man/ghc.1"
+manPageBuildPath = docRoot -/- "users_guide/build-man/ghc.1"
 
 -- TODO: Get rid of this hack.
 docContext :: Context



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1a47977bb407dd7b021d800a5194a107156cc727...37c61cc05f82f4cdc43aece152df8630b7c0419d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1a47977bb407dd7b021d800a5194a107156cc727...37c61cc05f82f4cdc43aece152df8630b7c0419d
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/20220815/292c2a14/attachment-0001.html>


More information about the ghc-commits mailing list