summaryrefslogtreecommitdiff
path: root/doc/en/install.en.xml
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-26 14:27:35 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-26 14:27:35 +0200
commit4fa856c77316eadd36c65a197f68422d4a8dae68 (patch)
treea60016a0b1208bbb8da24819a960fb41b54fb5fb /doc/en/install.en.xml
parentfb1b3e7cff5cbcee7adcb0f6de75c66199c5ccc8 (diff)
downloadweechat-4fa856c77316eadd36c65a197f68422d4a8dae68.zip
Update doc
Diffstat (limited to 'doc/en/install.en.xml')
-rw-r--r--doc/en/install.en.xml42
1 files changed, 35 insertions, 7 deletions
diff --git a/doc/en/install.en.xml b/doc/en/install.en.xml
index 71d566e27..06f386315 100644
--- a/doc/en/install.en.xml
+++ b/doc/en/install.en.xml
@@ -44,7 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<para>
Mandriva/RedHat (or any RPM compatible distribution):
<userinput>
- rpm -i /chemin/weechat-x.y.z-1.i386.rpm
+ rpm -i /path/to/weechat-x.y.z-1.i386.rpm
</userinput>
</para>
</listitem>
@@ -66,16 +66,44 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<title>Source package</title>
<para>
- All you have to do is to run in a console or a terminal:
+ WeeChat can be compiled with autotools or cmake.
+ </para>
+
+ <section id="secCompileWithAutotools">
+ <title>Compile with Autotools</title>
+
+ <para>
+ In a console or a terminal:
<screen><prompt>$ </prompt><userinput>./configure</userinput>
<prompt>$ </prompt><userinput>make</userinput></screen>
- </para>
- <para>
- Then get root privileges and install WeeChat:
+ </para>
+ <para>
+ Then get root privileges and install WeeChat:
<screen><prompt>$ </prompt><userinput>su</userinput>
(enter root password)
<prompt># </prompt><userinput>make install</userinput></screen>
- </para>
+ </para>
+
+ </section>
+
+ <section id="secCompileWithCmake">
+ <title>Compile with Cmake</title>
+
+ <para>
+ In a console or a terminal:
+<screen><prompt>$ </prompt><userinput>mkdir build</userinput>
+<prompt>$ </prompt><userinput>cd build</userinput>
+<prompt>$ </prompt><userinput>cmake ..</userinput>
+<prompt>$ </prompt><userinput>make</userinput></screen>
+ </para>
+ <para>
+ Then get root privileges and install WeeChat:
+<screen><prompt>$ </prompt><userinput>su</userinput>
+(enter root password)
+<prompt># </prompt><userinput>make install</userinput></screen>
+ </para>
+
+ </section>
</section>
@@ -93,7 +121,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</para>
<para>
- Execute this script:
+ If you're using Autotools (and not cmake), execute this script:
<userinput>./autogen.sh</userinput>
</para>