Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
f1a833b1
Commit
f1a833b1
authored
Feb 11, 2008
by
Duncan Coutts
Browse files
Document main-is behaviour with preprocessors
parent
3d9d11e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Cabal.xml
View file @
f1a833b1
...
...
@@ -752,9 +752,14 @@ Executable program2
(required)
</term>
<listitem>
<para>
The name of the source file containing the
<literal>
Main
</literal>
module, relative to one of the
directories listed in
<literal>
hs-source-dirs
</literal>
.
</para>
<para>
The name of the
<filename>
.hs
</filename>
or
<filename>
.lhs
</filename>
file containing the
<literal>
Main
</literal>
module. Note that it is the
<filename>
.hs
</filename>
filename that must be listed, even if
that file is generated using a preprocessor. The source
file must be relative to one of the directories listed in
<literal>
hs-source-dirs
</literal>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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