Commit eb90651b authored by ian@well-typed.com's avatar ian@well-typed.com

Rename hs-suffix-rules-srcdir to hs-suffix-way-rules-srcdir

parent 676235fd
......@@ -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
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment