[commit: ghc] master: Make the example for -M work (3806891)
git at git.haskell.org
git at git.haskell.org
Fri Apr 1 20:58:51 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/38068913c13fa64bd776fab6cf0e971c1a18b54d/ghc
>---------------------------------------------------------------
commit 38068913c13fa64bd776fab6cf0e971c1a18b54d
Author: Bartosz Nitka <niteria at gmail.com>
Date: Fri Apr 1 13:03:17 2016 -0700
Make the example for -M work
`ghc` fails without `-dep-suffix ''`.
Test Plan: visual inspection
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie, simonmar
Differential Revision: https://phabricator.haskell.org/D2075
>---------------------------------------------------------------
38068913c13fa64bd776fab6cf0e971c1a18b54d
docs/users_guide/separate_compilation.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst
index c0d42e9..d5fcd9c 100644
--- a/docs/users_guide/separate_compilation.rst
+++ b/docs/users_guide/separate_compilation.rst
@@ -846,7 +846,7 @@ following to your ``Makefile``:
.. code-block:: make
depend :
- ghc -M $(HC_OPTS) $(SRCS)
+ ghc -dep-suffix '' -M $(HC_OPTS) $(SRCS)
Now, before you start compiling, and any time you change the ``imports``
in your program, do ``make depend`` before you do ``make cool_pgm``. The command
More information about the ghc-commits
mailing list