Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alexis King
GHC
Commits
e0f3f5f3
Commit
e0f3f5f3
authored
Sep 19, 2008
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't require Parser.y in a source dist
parent
027caa7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
compiler/Makefile
compiler/Makefile
+7
-1
No files found.
compiler/Makefile
View file @
e0f3f5f3
...
...
@@ -189,7 +189,13 @@ CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE2
+=
$(USE_STAGE1_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE3
+=
$(USE_STAGE2_CONFIGURE_FLAGS)
boot.stage.%
:
$(PRIMOP_BITS) $(CONFIG_HS) parser/Parser.y
# In a source dist we don't need to worry about Parser.y(.pp) as we have
# the .hs file pre-generated
ifneq
"$(wildcard parser/Parser.y.pp)" ""
PARSER_Y
=
parser/Parser.y
endif
boot.stage.%
:
$(PRIMOP_BITS) $(CONFIG_HS) $(PARSER_Y)
test
-f
$(STAGE3_PACKAGE_CONF)
||
echo
"[]"
>
$(STAGE3_PACKAGE_CONF)
$(CABAL)
configure
--distpref
dist-stage
$*
\
$
(
CONFIGURE_FLAGS_STAGE
$*
)
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment