forked from GitHub/gf-rgl
Makefile now works with: global runghc, stack-only runghc, and falls back to shell script.
This commit is contained in:
17
README.md
17
README.md
@@ -47,12 +47,7 @@ This file should be kept up-to-date and all build methods should read this confi
|
||||
|
||||
If default is `y` then anything other than `n`, including the empty string, is treated as true (and vice versa when default is `n`).
|
||||
|
||||
## Haskell script: `Setup.hs`
|
||||
|
||||
This build method gives you most options.
|
||||
You will need Haskell installed on your system.
|
||||
|
||||
### Basic
|
||||
## Using Make
|
||||
|
||||
If you have `Make` installed and don't care about advanced settings,
|
||||
you can compile the RGL and install it to the default location with:
|
||||
@@ -64,9 +59,15 @@ make install
|
||||
This is the same as `make build` followed by `make copy`.
|
||||
There is also `make clean` available.
|
||||
|
||||
### Advanced
|
||||
The Makefile will try to use the Haskell install script,
|
||||
falling back to the shell script if you do not have Haskell installed.
|
||||
|
||||
For more fine-grained control over the build process, you can run the build script directly:
|
||||
## Haskell script: `Setup.hs`
|
||||
|
||||
This build method gives you most options.
|
||||
You will need Haskell installed on your system.
|
||||
|
||||
Run the build script with:
|
||||
|
||||
```
|
||||
runghc Setup.hs ...
|
||||
|
||||
Reference in New Issue
Block a user