summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-04-08 22:46:10 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-04-08 22:46:10 +0200
commit3eb3739980bc50705acbdeff6f175d4c0201bf31 (patch)
tree5b83aaca6814c502ab5869f04f0ed240efc17db9
parent38e108ea70b2022a58468e64cff2899d3f409868 (diff)
Use build out of tree
The recommended way of building Dillo is to use a out-of-tree build, so it can be removed and leave the source directory clean. Fixes: https://github.com/dillo-browser/dillo/issues/125
-rw-r--r--doc/install.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/install.md b/doc/install.md
index 3cbf418c..0850a9b2 100644
--- a/doc/install.md
+++ b/doc/install.md
@@ -47,9 +47,11 @@ To build and install Dillo follow the steps below.
```sh
$ tar jxvf dillo-3.0.5.tar.bz2
$ cd dillo-3.0.5
-$ ./configure
+$ mkdir build
+$ cd build
+$ ../configure --prefix=/usr/local
$ make
-$ sudo make install-strip
+$ sudo make install
```
### From git
@@ -58,7 +60,9 @@ $ sudo make install-strip
$ git clone https://github.com/dillo-browser/dillo.git
$ cd dillo
$ ./autogen.sh
-$ ./configure
+$ mkdir build
+$ cd build
+$ ../configure --prefix=/usr/local
$ make
$ sudo make install
```