@@ -188,7 +188,7 @@ required (directly or indirectly) by an executable must be listed again.
188
188
189
189
The trivial setup script used in these examples uses the *simple build
190
190
infrastructure * provided by the Cabal library (see
191
- `Distribution.Simple <../release/cabal-latest/doc/API/ Cabal/Distribution-Simple.html >`__).
191
+ `Distribution.Simple <https://hackage.haskell.org/package/ Cabal/docs /Distribution-Simple.html >`__).
192
192
The simplicity lies in its interface rather that its implementation. It
193
193
automatically handles preprocessing with standard preprocessors, and
194
194
builds packages for all the Haskell implementations.
@@ -412,7 +412,7 @@ describe the package as a whole:
412
412
413
413
The type of build used by this package. Build types are the
414
414
constructors of the
415
- `BuildType <../release/cabal-latest/doc/API/ Cabal/Distribution-PackageDescription.html#t:BuildType >`__
415
+ `BuildType <https://hackage.haskell.org/package/ Cabal/docs /Distribution-PackageDescription.html#t:BuildType >`__
416
416
type. This field is optional and when missing, its default value
417
417
is inferred according to the following rules:
418
418
@@ -1794,7 +1794,7 @@ system-dependent values for these fields.
1794
1794
A list of Haskell extensions used by every module. These determine
1795
1795
corresponding compiler options enabled for all files. Extension
1796
1796
names are the constructors of the
1797
- `Extension <../release/cabal-latest/doc/API/ Cabal/Language-Haskell-Extension.html#t:Extension >`__
1797
+ `Extension <https://hackage.haskell.org/package/ Cabal/docs /Language-Haskell-Extension.html#t:Extension >`__
1798
1798
type. For example, ``CPP `` specifies that Haskell source files are
1799
1799
to be preprocessed with a C preprocessor.
1800
1800
@@ -3364,7 +3364,7 @@ a few options:
3364
3364
posthaddock args flags desc info = ....
3365
3365
3366
3366
See ``UserHooks`` in
3367
- `Distribution.Simple <../release/cabal-latest/doc/API/ Cabal/Distribution-Simple.html>`__
3367
+ `Distribution.Simple <https://hackage.haskell.org/package/ Cabal/docs /Distribution-Simple.html>`__
3368
3368
for the details, but note that this interface is experimental, and
3369
3369
likely to change in future releases.
3370
3370
@@ -3376,7 +3376,7 @@ a few options:
3376
3376
- You could delegate all the work to ``make``, though this is unlikely
3377
3377
to be very portable. Cabal supports this with the :pkg-field:`build-type`
3378
3378
``Make`` and a trivial setup library
3379
- `Distribution.Make <../release/cabal-latest/doc/API/ Cabal/Distribution-Make.html>`__,
3379
+ `Distribution.Make <https://hackage.haskell.org/package/ Cabal/docs /Distribution-Make.html>`__,
3380
3380
which simply parses the command line arguments and invokes ``make``.
3381
3381
Here ``Setup.hs`` should look like this:
3382
3382
0 commit comments