Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,321
Issues
4,321
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
362
Merge Requests
362
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
0c4c6606
Commit
0c4c6606
authored
Feb 10, 2005
by
ross
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2005-02-10 12:35:21 by ross]
xrefs to Cabal docs
parent
5c26ae92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
ghc/docs/users_guide/packages.xml
ghc/docs/users_guide/packages.xml
+7
-6
No files found.
ghc/docs/users_guide/packages.xml
View file @
0c4c6606
...
...
@@ -19,8 +19,9 @@ Packages
the
<ulink
url=
"http://www.haskell.org/cabal/"
>
Cabal
</ulink>
infrastructure which
automates the process of configuring, building, installing and distributing
a package. All you need to do is write a simple configuration file, put a
few files in the right places, and you have a package. See the Cabal
documentation for details, and also the Cabal libraries (
<ulink
url=
"../libraries/Cabal/Distribution.Simple.html"
>
Distribution.Simple
</ulink>
,
few files in the right places, and you have a package. See the
<ulink
url=
"../Cabal/index.html"
>
Cabal documentation
</ulink>
for details, and also the Cabal libraries (
<ulink
url=
"../libraries/Cabal/Distribution.Simple.html"
>
Distribution.Simple
</ulink>
,
for example).
</para>
<sect2
id=
"using-packages"
>
...
...
@@ -256,7 +257,7 @@ exposed-modules: Network.BSD,
<secondary>
building
</secondary></indexterm>
<para>
We don't recommend building packages the hard way. Instead, use the
<ulink
url=
"
http://www.haskell.org/cabal/
"
>
Cabal
</ulink>
infrastructure
<ulink
url=
"
../Cabal/index.html
"
>
Cabal
</ulink>
infrastructure
if possible. If your package is particularly complicated or requires a
lot of configuration, then you might have to fall back to the low-level
mechanisms, so a few hints for those brave souls follow.
</para>
...
...
@@ -624,9 +625,9 @@ includes: HsUnix.h
depends: base-1.0
</screen>
<para>
The full
Cabal documentation is still in preparation (at time of
writing), so in the meantime here is a brief description of the syntax of
this file:
</para>
<para>
The full
<ulink
url=
"../Cabal/index.html"
>
Cabal documentation
</ulink>
is still in preparation (at time of writing), so in the meantime
here is a brief description of the syntax of
this file:
</para>
<para>
A package description consists of a number of field/value pairs. A
field starts with the field name in the left-hand column followed by a
...
...
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