aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-03-06 10:51:09 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2021-03-06 10:51:09 +0000
commitfcbab5d43956fc16370292fcb60a54dc6638a494 (patch)
treebf8c7c504fa6afe743223919902d22541d43f89d /README.md
parent4336020fe3aa914a498867541f8d36978d645799 (diff)
parent32c96e56af29e6c51d7e971c6416701005a2b41f (diff)
downloadfpm-fcbab5d43956fc16370292fcb60a54dc6638a494.tar.gz
fpm-fcbab5d43956fc16370292fcb60a54dc6638a494.zip
Merge remote-tracking branch 'upstream/master' into separate-targets
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 9 insertions, 15 deletions
diff --git a/README.md b/README.md
index 00dd73d..be96b4f 100644
--- a/README.md
+++ b/README.md
@@ -72,32 +72,26 @@ $ cd fpm/
#### Build a bootstrap version of fpm
-You can use the install script to perform the build of the Haskell version of *fpm* with:
+You can use the install script to bootstrap and install *fpm*:
```bash
$ ./install.sh
```
-On Linux, the above command installs `fpm` to `${HOME}/.local/bin/`.
-
-Now you can build the Fortran *fpm* version with
+By default, the above command installs `fpm` to `${HOME}/.local/bin/`.
+To specify an alternative destination use the `--prefix=` flag, for example:
```bash
-$ cd fpm/
-$ fpm build
+$ ./install.sh --prefix=/usr/local
```
-Test that everything is working as expected
+which will install *fpm* to `/usr/local/bin`.
-```bash
-$ fpm test
-```
-
-Finally, install the Fortran *fpm* version with
+To test that everything is working as expected you can now build *fpm*
+with itself and run the tests with:
```bash
-$ fpm run --runner mv -- ~/.local/bin
+$ cd fpm
+$ fpm test
```
-Or choose another location if you do not want to overwrite the bootstrapping version.
-From now on you can rebuild *fpm* with your Fortran *fpm* version.