Rename hs-suffix-rules-srcdir to hs-suffix-way-rules-srcdir
authorIan Lynagh <ian@well-typed.com>
Thu, 21 Feb 2013 14:40:14 +0000 (14:40 +0000)
committerIan Lynagh <ian@well-typed.com>
Thu, 21 Feb 2013 14:40:14 +0000 (14:40 +0000)
ghc.mk
rules/hs-suffix-way-rules-srcdir.mk [moved from rules/hs-suffix-rules-srcdir.mk with 99% similarity]
rules/hs-suffix-way-rules.mk

diff --git a/ghc.mk b/ghc.mk
index 99ea239..e31585a 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -226,7 +226,7 @@ include rules/cmm-objs.mk
 # so we don't make any when cleaning.
 ifneq "$(CLEANING)" "YES"
 
-include rules/hs-suffix-rules-srcdir.mk
+include rules/hs-suffix-way-rules-srcdir.mk
 include rules/hs-suffix-way-rules.mk
 include rules/hi-rule.mk
 include rules/c-suffix-rules.mk
similarity index 99%
rename from rules/hs-suffix-rules-srcdir.mk
rename to rules/hs-suffix-way-rules-srcdir.mk
index 029ea0b..204ddcf 100644 (file)
@@ -11,7 +11,7 @@
 # -----------------------------------------------------------------------------
 
 
-define hs-suffix-rules-srcdir
+define hs-suffix-way-rules-srcdir
 # args: $1 = dir,  $2 = distdir, $3 = way, $4 = srcdir
 
 # Preprocessing Haskell source
index 50097cb..bfab912 100644 (file)
@@ -30,7 +30,7 @@ $1/$2/build/%.$$($3_osuf) : $1/$2/build/autogen/%.hs $$(LAX_DEPS_FOLLOW) $$($1_$
 endif
 
 $$(foreach dir,$$($1_$2_HS_SRC_DIRS),\
-  $$(eval $$(call hs-suffix-rules-srcdir,$1,$2,$3,$$(dir))))
+  $$(eval $$(call hs-suffix-way-rules-srcdir,$1,$2,$3,$$(dir))))
 
 $(call hi-rule,$1/$2/build,$1/$2/build,$3)
 $(call hi-rule,$1/$2/build/autogen,$1/$2/build,$3)