diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-01-11 13:14:29 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-01-11 13:29:04 +0000 |
commit | 8b1e30f79d6fb6aa2c35d93283f9208c6d54a927 (patch) | |
tree | 8b51360e318f2ed704598870913c4d4b4b2da3e5 /rules/hs-suffix-rules.mk | |
parent | fb7391ae2f2bd5261fc4f70766a36ec7285c007a (diff) | |
download | haskell-8b1e30f79d6fb6aa2c35d93283f9208c6d54a927.tar.gz |
Small build system refactoring
hs-suffix-rules now calls hs-suffix-rules-srcdir, saving some duplication
Diffstat (limited to 'rules/hs-suffix-rules.mk')
-rw-r--r-- | rules/hs-suffix-rules.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/hs-suffix-rules.mk b/rules/hs-suffix-rules.mk index 9b11e6e806..fead7d1d41 100644 --- a/rules/hs-suffix-rules.mk +++ b/rules/hs-suffix-rules.mk @@ -34,5 +34,8 @@ $(call hi-rule,$1/$2/build/autogen,$1/$2/build,$3) endif endif +$$(foreach dir,$$($1_$2_HS_SRC_DIRS),\ + $$(eval $$(call hs-suffix-rules-srcdir,$1,$2,$3,$$(dir)))) + endef # hs-suffix-rules |