mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
f2f9742d4d
The rule generating the HTML docs passing the --html flag to xsltproc. This makes it use the legacy HTML parser, which either ignores or tries to fix all sorts of broken XML tags. There's no reason why we should be writing broken XML in the first place, so removing --html and adding the XHTML doctype to all files forces us to create good XML. This adds the XHTML doc type and fixes many, many XML tag problems it exposes. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
51 lines
1.3 KiB
XML
51 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<h1>Deployment</h1>
|
|
|
|
<ul id="toc"></ul>
|
|
|
|
<h2><a name="packages">Pre-packaged releases</a></h2>
|
|
|
|
<p>
|
|
The libvirt API is now available in all major Linux distributions,
|
|
so the simplest deployment approach is to use your distributions'
|
|
package management software to install the <code>libvirt</code>
|
|
module.
|
|
</p>
|
|
|
|
<h2><a name="tarball">Self-built releases</a></h2>
|
|
|
|
<p>
|
|
libvirt uses GNU autotools for its build system, so deployment
|
|
follows the usual process of <code>configure; make ; make install</code>
|
|
</p>
|
|
|
|
<pre>
|
|
|
|
# ./configure --prefix=$HOME/usr
|
|
# make
|
|
# make install
|
|
</pre>
|
|
|
|
<h2><a name="git">Built from GIT</a></h2>
|
|
|
|
<p>
|
|
When building from GIT it is necessary to generate the autotools
|
|
support files. This requires having <code>autoconf</code>,
|
|
<code>automake</code>, <code>libtool</code> and <code>intltool</code>
|
|
installed. The process can be automated with the <code>autogen.sh</code>
|
|
script.
|
|
</p>
|
|
|
|
<pre>
|
|
|
|
# ./autogen.sh --prefix=$HOME/usr
|
|
# make
|
|
# make install
|
|
</pre>
|
|
|
|
</body>
|
|
</html>
|