From c3b97d96aecf8dc6a37913afa47d5442963d8811 Mon Sep 17 00:00:00 2001 From: enz Date: Fri, 3 Oct 2008 22:05:10 +0000 Subject: [PATCH] Add documentation about autotools git-svn-id: svn://svn.code.sf.net/p/fuego/code/trunk@570 2e953b5c-c64d-0410-be54-f773e93e544c --- README | 7 ++++++ doc/general/pages/autotools.cpp | 42 +++++++++++++++++++++++++++++++++ doc/general/pages/mainpage.cpp | 1 + 3 files changed, 50 insertions(+) create mode 100644 doc/general/pages/autotools.cpp diff --git a/README b/README index 404177cc..eb1bd425 100644 --- a/README +++ b/README @@ -33,3 +33,10 @@ GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Fuego. If not, see . + +Compilation +=========== + +See INSTALL for generic compilation instructions from GNU Automake. +The file doc/general/pages/autotools.cpp contains additional and Fuego +specific documentation. diff --git a/doc/general/pages/autotools.cpp b/doc/general/pages/autotools.cpp new file mode 100644 index 00000000..07efb2e0 --- /dev/null +++ b/doc/general/pages/autotools.cpp @@ -0,0 +1,42 @@ +/** @page generalautotools Building Fuego using GNU Autotools + +@section generalautotoolsdistro Building a distribution (released version) + +@verbatim +./configure +make +@endverbatim + +@section generalautotoolssvn Building a development version checked out from SVN + +@verbatim +aclocal +autoheader +automake --add-missing +autoreconf +automake --add-missing +@endverbatim + +The above commands need to be run only initially. Then the compilation works +as in the previous section. + +After adding or removing files or doing other changes to +configure.in or a Makefile.am, you need to run +autoreconf again bevor doing a make. +A better way is to configure your makefiles with +./configure --enable-maintainer-mode. Then a make will automatically +check, if configure.in or a Makefile.am have changed and +recreate the makefiles bevor the compilation if necessary. + +Other interesting options to configure are @c --enable-assert for enabling +assertions or @c --enable-optimize=no for switching off optimizations. +./configure --help returns a full list of options. + +@section generalautotoolsinstall Installing Fuego + +@verbatim +sudo make install +@endverbatim + +*/ + diff --git a/doc/general/pages/mainpage.cpp b/doc/general/pages/mainpage.cpp index c58945ef..cdb36425 100644 --- a/doc/general/pages/mainpage.cpp +++ b/doc/general/pages/mainpage.cpp @@ -6,4 +6,5 @@ - @ref generalstyle - @ref generalgmake + - @ref generalautotools */