summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-21 15:32:46 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-21 15:47:16 +0000
commitf1368057296b00dbf7100b4308c8fa3c6844d797 (patch)
tree2bac0efc2d9006e2bea7069bc9e31b2fa2178783 /rules/build-package.mk
parent0565f88e41bcd33fff52d884e2747c333d5d122e (diff)
downloadhaskell-f1368057296b00dbf7100b4308c8fa3c6844d797.tar.gz
Separate the non-way-specific hs-suffix rules
This means we don't define them multiple times
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index 7ee4dd32b9..46150e34a2 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -131,6 +131,8 @@ ifeq "$$(BuildSharedLibs)" "YES"
$(call c-objs,$1,$2,dyn)
$(call c-suffix-rules,$1,$2,dyn,YES)
endif
+$$(foreach dir,$$($1_$2_HS_SRC_DIRS),\
+ $$(eval $$(call hs-suffix-rules-srcdir,$1,$2,$$(dir))))
$(call all-target,$1,all_$1_$2)
# This give us things like