[commit: ghc] master: Add a comment (f83994e)
Ian Lynagh
igloo at earth.li
Sun Jun 2 14:13:30 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/f83994ec376625591ce33861354030f3d7eb71f3
>---------------------------------------------------------------
commit f83994ec376625591ce33861354030f3d7eb71f3
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Jun 1 19:16:56 2013 +0100
Add a comment
>---------------------------------------------------------------
rules/build-dependencies.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 02640bf..1233426 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -49,6 +49,10 @@ endif
# within the build tree. On Windows this causes a problem as they look
# like bad rules, due to the two colons, so we filter them out.
grep -v ' : [a-zA-Z]:/' $$@.tmp > $$@.tmp2
+# Insert the calls to hi-rule. Basically, we look for the
+# Foo.dyn_o Foo.o : Foo.hs
+# lines, and create corresponding hi-rule lines
+# $(eval $(call hi-rule,Foo.dyn_hi Foo.hi : %hi: %o Foo.hs))
sed '/hs$$$$/ p ; \
/hs$$$$/ s/o /hi /g ; \
/hs$$$$/ s/:/ : %hi: %o / ; \
More information about the ghc-commits
mailing list