[libvirt PATCH] docs: fix compilation instructions to use separate build dir

Daniel P. Berrangé berrange at redhat.com
Fri Jul 17 09:50:43 UTC 2020


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 docs/compiling.html.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/compiling.html.in b/docs/compiling.html.in
index 0e12a9218e..18943a9a79 100644
--- a/docs/compiling.html.in
+++ b/docs/compiling.html.in
@@ -76,7 +76,8 @@ $ <b>sudo</b> <i>make install</i></pre>
     </p>
 
     <pre>
-$ ./autogen.sh --prefix=$HOME/usr
+$ mkdir build && cd build
+$ ../autogen.sh --prefix=$HOME/usr
 $ make
 $ <b>sudo</b> make install</pre>
 
@@ -88,7 +89,8 @@ $ <b>sudo</b> make install</pre>
     </p>
 
     <pre>
-$ ./autogen.sh --system
+$ mkdir build && cd build
+$ ../autogen.sh --system
 $ make
     </pre>
 
-- 
2.26.2




More information about the libvir-list mailing list