~ubuntu-branches/ubuntu/utopic/haskell-uulib/utopic

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Arjan Oosting
  • Date: 2006-11-18 16:24:30 UTC
  • Revision ID: james.westby@ubuntu.com-20061118162430-24ddyj27kj0uk17v
Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installing uulib from a source distribution
 
2
-------------------------------------------
 
3
 
 
4
  System wide installation assumming GHC is the
 
5
  Haskell compiler.
 
6
 
 
7
    ghc --make Setup.hs -o setup -package Cabal
 
8
    ./setup configure
 
9
    ./setup build
 
10
    ./setup install
 
11
 
 
12
 
 
13
Installing uulib to a non-standard location
 
14
-------------------------------------------
 
15
 
 
16
  This is useful if you don't want (or can't)
 
17
  modify system wide settings.
 
18
 
 
19
    ghc --make Setup.hs -o setup -package Cabal
 
20
    ./setup configure --prefix=/foo
 
21
    ./setup build
 
22
    ./setup install --user
 
23
 
 
24
  The last command registers the package only for
 
25
  the user.
 
26
 
 
27
 
 
28
Installing uulib from the repository
 
29
------------------------------------
 
30
 
 
31
    autoconf
 
32
    ./configure
 
33
    ghc --make Setup.hs -o setup -package Cabal
 
34
    ./setup configure
 
35
    ./setup build
 
36
    ./setup install
 
37
 
 
38
  If you want to install to a non-standard location
 
39
  you don't need to pass a path to configure, just follow
 
40
  the steps outlined above.
 
41
 
 
42
 
 
43
Optionally generating Haddock Documentation
 
44
-------------------------------------------
 
45
 
 
46
  Requires cpphs 0.9
 
47
  Output generated in dist/doc/html
 
48
 
 
49
    ./setup haddock
 
50
 
 
51