aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/installation/building-source.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-31 15:43:25 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-31 15:43:25 +0200
commit1d0a7b54fa330b041a720932ee4e05dcad1d2d5c (patch)
tree48627a3530e4d6d58c612864b2e99afb11a0a902 /doc/manual/src/installation/building-source.md
parent0c94c176446bd9e9cb8c7e16fb7c6d88bb4e9a20 (diff)
Enable syntax highlighting
Diffstat (limited to 'doc/manual/src/installation/building-source.md')
-rw-r--r--doc/manual/src/installation/building-source.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/manual/src/installation/building-source.md b/doc/manual/src/installation/building-source.md
index 35dbd5541..d21a51a82 100644
--- a/doc/manual/src/installation/building-source.md
+++ b/doc/manual/src/installation/building-source.md
@@ -3,16 +3,20 @@
After unpacking or checking out the Nix sources, issue the following
commands:
- $ ./configure options...
- $ make
- $ make install
+```console
+$ ./configure options...
+$ make
+$ make install
+```
Nix requires GNU Make so you may need to invoke `gmake` instead.
When building from the Git repository, these should be preceded by the
command:
- $ ./bootstrap.sh
+```console
+$ ./bootstrap.sh
+```
The installation path can be specified by passing the `--prefix=prefix`
to `configure`. The default installation directory is `/usr/local`. You