[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-wiki-changes] UsingAutotools
From: |
wiki |
Subject: |
[Wesnoth-wiki-changes] UsingAutotools |
Date: |
Wed, 1 Dec 2004 15:33 +0100 |
UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109
Firefox/1.0
IP: 168.209.98.67
URI: http://wesnoth.slack.it/?UsingAutotools
- - - - -
Index: UsingAutotools
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/UsingAutotools,v
retrieving revision 1.4
diff -u -r1.4 UsingAutotools
--- UsingAutotools 22 Aug 2004 01:22:37 -0000 1.4
+++ UsingAutotools 1 Dec 2004 14:33:01 -0000
@@ -1,23 +1,27 @@
-|| Users || (both CVS and releases)
+|| Users ||
- ./autogen.sh (CVS only)
+For CVS version run
+ ./autogen.sh
+For both CVS and releases run
./configure
-Editor, server and translation tools are not compiled nor installed by
default. If you want them, just tell it to configure:
+Editor, server and translation tools are neither compiled nor installed by
default.
+If you want them, just provide the right options to configure:
./configure --enable-server
./configure --enable-editor
./configure --enable-tools
- ./configure --enable-server --enable-editor --enable-tools (to compile
everything)
-
+or, to compile everything,
+ ./configure --enable-server --enable-editor --enable-tools
+Then run
make
- make install (as root)
+and as root,
+ make install
|| Static Binary ||
To build a static binary do the following:
-
./configure --enable-static
make
@@ -25,7 +29,6 @@
|| Developers ||
When adding a new source file, Add it to corresponding Makefile.am:
-
* For wesnoth: src/Makefile.am
* For wesnoth server: src/server/Makefile.am
* For wesnoth editor: src/Makefile.am
@@ -36,7 +39,6 @@
|| Testing
Autotools have been tested and run correctly in (please add your platform if
you test it):
-
* Gentoo GNU/Linux
* FreeBSD 4.9 and 5.2.1
* Debian GNU/Linux (Sid) [had to change alternatives so that aclocal and
automake point to something newer than 1.4]
- [Wesnoth-wiki-changes] UsingAutotools,
wiki <=