compiling.html.in: Kill useless spaces in <pre/>

The <pre/> section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such <pre/> because
the content might not fix into it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2016-11-11 23:40:27 +01:00
parent c215520578
commit 6a0043cdd8

View File

@ -13,9 +13,9 @@
</p> </p>
<pre> <pre>
$ xz -c libvirt-x.x.x.tar.xz | tar xvf - $ xz -c libvirt-x.x.x.tar.xz | tar xvf -
$ cd libvirt-x.x.x $ cd libvirt-x.x.x
$ ./configure</pre> $ ./configure</pre>
<p> <p>
The <i>configure</i> script can be given options to change its default The <i>configure</i> script can be given options to change its default
@ -28,7 +28,7 @@
</p> </p>
<pre> <pre>
$ ./configure <i>--help</i></pre> $ ./configure <i>--help</i></pre>
<p> <p>
When you have determined which options you want to use (if any), When you have determined which options you want to use (if any),
@ -49,9 +49,9 @@
</p> </p>
<pre> <pre>
$ ./configure <i>[possible options]</i> $ ./configure <i>[possible options]</i>
$ make $ make
$ <b>sudo</b> <i>make install</i></pre> $ <b>sudo</b> <i>make install</i></pre>
<p> <p>
At this point you <b>may</b> have to run ldconfig or a similar utility At this point you <b>may</b> have to run ldconfig or a similar utility
@ -91,7 +91,7 @@
drive or manual download, and run this any time libvirt.git drive or manual download, and run this any time libvirt.git
updates the commit stored in the .gnulib submodule:</p> updates the commit stored in the .gnulib submodule:</p>
<pre> <pre>
$ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git $ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git
</pre> </pre>
<p>To build &amp; install libvirt to your home <p>To build &amp; install libvirt to your home
@ -99,9 +99,9 @@
</p> </p>
<pre> <pre>
$ ./autogen.sh --prefix=$HOME/usr $ ./autogen.sh --prefix=$HOME/usr
$ make $ make
$ <b>sudo</b> make install</pre> $ <b>sudo</b> make install</pre>
<p> <p>
Be aware though, that binaries built with a custom prefix will not Be aware though, that binaries built with a custom prefix will not
@ -111,8 +111,8 @@
</p> </p>
<pre> <pre>
$ ./autogen.sh --system $ ./autogen.sh --system
$ make $ make
</pre> </pre>
<p> <p>
@ -123,9 +123,9 @@
</p> </p>
<pre> <pre>
$ su - $ su -
# service libvirtd stop (or systemctl stop libvirtd.service) # service libvirtd stop (or systemctl stop libvirtd.service)
# /home/to/your/checkout/daemon/libvirtd # /home/to/your/checkout/daemon/libvirtd
</pre> </pre>
<p> <p>
@ -134,7 +134,7 @@
</p> </p>
<pre> <pre>
$ ./run ./tools/virsh .... $ ./run ./tools/virsh ....
</pre> </pre>
</body> </body>
</html> </html>