diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-10 02:12:56 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-10 02:12:56 +0100 |
commit | 80fcdd69172f2e9d50b2d058c48dbc6074b7a65c (patch) | |
tree | b3fc1fcc53452d58bb89db98023818efe56a3bfa /rules/hs-suffix-rules-srcdir.mk | |
parent | 70c641642d3c3d55e4f8f76b49e3f82fb9f81a20 (diff) | |
download | haskell-80fcdd69172f2e9d50b2d058c48dbc6074b7a65c.tar.gz |
Put the generated Parser.y under compiler/stage<n>/build; fixes #7195
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r-- | rules/hs-suffix-rules-srcdir.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk index b39b41a93e..94a41d5e73 100644 --- a/rules/hs-suffix-rules-srcdir.mk +++ b/rules/hs-suffix-rules-srcdir.mk @@ -26,6 +26,12 @@ $1/$2/build/%.hs : $1/$4/%.ly | $$$$(dir $$$$@)/. $1/$2/build/%.hs : $1/$4/%.y | $$$$(dir $$$$@)/. $$(call cmd,HAPPY) $$($1_$2_$3_ALL_HAPPY_OPTS) $$< -o $$@ +$1/$2/build/%.hs : $1/$2/build/%.ly | $$$$(dir $$$$@)/. + $$(call cmd,HAPPY) $$($1_$2_$3_ALL_HAPPY_OPTS) $$< -o $$@ + +$1/$2/build/%.hs : $1/$2/build/%.y | $$$$(dir $$$$@)/. + $$(call cmd,HAPPY) $$($1_$2_$3_ALL_HAPPY_OPTS) $$< -o $$@ + $1/$2/build/%.hs : $1/$4/%.x | $$$$(dir $$$$@)/. $$(call cmd,ALEX) $$($1_$2_$3_ALL_ALEX_OPTS) $$< -o $$@ |