summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-08-03 15:13:02 +0100
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-08-03 15:13:02 +0100
commit38080147e3c99d709f6d1437d2c388744bcf5169 (patch)
treeaf83a9c53701e9ba76f55e118e9e1cc90063e063
parent9e397de31d44da310f59d75e72d8fc28669fb63d (diff)
downloadnode-startup-controller-38080147e3c99d709f6d1437d2c388744bcf5169.tar.gz
Finish documentation of build commands
-rw-r--r--README79
-rw-r--r--docs/reference/node-startup-controller/building.xml90
2 files changed, 94 insertions, 75 deletions
diff --git a/README b/README
index 082d718..e5ed7d6 100644
--- a/README
+++ b/README
@@ -17,79 +17,12 @@ For licensing information, see the COPYING file distributed along with
with this project.
-Build Dependencies
-------------------
+Build Dependencies and Instructions
+-----------------------------------
-The following libraries need to be installed in order to be able to
-build the Node Startup Controller:
+For a complete list of build dependencies and instructions, please
+refer to the reference manual in
- automotive-dlt >= 2.2.0
- gio-2.0 >= 2.30.0
- glib-2.0 >= 2.30.0
- gobject-2.0 >= 2.30.0
- libsystemd-daemon >= 183
+ docs/reference/node-startup-controller/html/index.html
-In addition to this, and apart from the standard tools like autoreconf,
-automake and libtool, the following command-line utilities need to be
-available for building:
-
- gdbus-codegen
- gtkdocize (and related GTK-Doc tools)
-
-
-Build Instructions
-------------------
-
-In order to build the Node Startup Controller, run the following:
-
- (test -d m4 || mkdir m4) &&
- gtkdocize &&
- autoreconf -ivf &&
- ./configure [options] &&
- make
-
-The following configure options are available apart from the standard
-choices:
-
- --enable-debug=<yes|no>:
-
- Enables or disables debug builds. Enabling
- debug will cause more compiler warnings to
- be generated that are then treated as errors
- and make the build fail. This is useful for
- catching problems during development.
-
- The default is "no".
-
- --with-prioritised-luc-types=<comma-separated integers>:
-
- Allows to define an ordered list of LUC types to be prioritised
- during start-up.
-
- The default is an empty list.
-
-For more information about all available configure options, run:
-
- ./configure --help
-
-
-Install Instructions
---------------------
-
-To install the Node Startup Controller after having built it, run:
-
- make install
-
-
-Testing Instructions
---------------------
-
-To run any test suites shipped with the Node Startup Controller, run:
-
- make check
-
-There may also be some post-install tests that can only be performed
-after installing the Node Startup Controller into the system. Those
-can be executed with:
-
- make installcheck
+once it has been built.
diff --git a/docs/reference/node-startup-controller/building.xml b/docs/reference/node-startup-controller/building.xml
index 5e0ef60..9d02e2b 100644
--- a/docs/reference/node-startup-controller/building.xml
+++ b/docs/reference/node-startup-controller/building.xml
@@ -36,7 +36,7 @@
</varlistentry>
</variablelist>
<para>
- In addition to this, and apart from the standard tools like autoconf, automake
+ In addition to this, and apart from standard tools like autoconf, automake
and libtool, the following command-line utilities need to be available for
building:
</para>
@@ -44,8 +44,94 @@
<listitem>gdbus-codegen</listitem>
<listitem>
gtkdocize and related GTK-Doc tools (only needed for building the
- reference manual
+ reference manual)
</listitem>
</itemizedlist>
</refsect1>
+ <refsect1>
+ <title>Build Instructions</title>
+ <para>
+ Building and installing the Node Startup Controller is done in the following
+ 3-4 steps:
+ </para>
+ <orderedlist>
+ <listitem>
+ <formalpara>
+ <title>Preparing the source tree</title>
+ <para>
+ This step is only required when building from the git repository. It will
+ prepare the tree for building the reference manual and will generate the
+ final build scripts (<literal>configure</literal> and
+ <literal>Makefile</literal> files) from the templates shipped along with the
+ source code:
+ <programlisting>(test -d m4 || mkdir m4) &amp;&amp; gtkdocize &amp;&amp; autoreconf -ivf</programlisting>
+ </para>
+ </formalpara>
+ </listitem>
+ <listitem>
+ <formalpara>
+ <title>Checking dependencies and configuring the build</title>
+ <para>
+ Checking for build-time dependencies and tweaking various build options, such as the
+ installation path etc. is done using the <literal>configure</literal> script, which
+ is called as follows in the toplevel directory of the source tree:
+ <programlisting>./configure [options]</programlisting>
+ The following custom configuration options are available:
+ <variablelist>
+ <varlistentry>
+ <term><literal>--enable-debug=&lt;yes|no&gt;</literal></term>
+ <listitem>
+ <para>
+ Enables or disables debug builds. Enabling debugging will cause more
+ compiler warnings to be generated that are then treated as errors
+ and make the build fail. This is useful for catching problems during
+ development.
+ </para>
+ <para>
+ The default value is <literal>no</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>--with-prioritised-luc-types=&lt;comma separated integers&gt;</literal></term>
+ <listitem>
+ <para>
+ Allows to define an ordered list of LUC types to be prioritised
+ during start-up. The start groups corresponding to these LUC types
+ will be started before any other groups.
+ </para>
+ <para>
+ The default is an empty list.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ For more information about all available configuration options (such as
+ installation paths), run:
+ <programlisting>./configure --help</programlisting>
+ </para>
+ </formalpara>
+ </listitem>
+ <listitem>
+ <formalpara>
+ <title>Building</title>
+ <para>
+ To actually build the Node Startup Controller and its reference manual,
+ simply run the following:
+ </para>
+ <programlisting>make</programlisting>
+ </formalpara>
+ </listitem>
+ <listitem>
+ <formalpara>
+ <title>Installing</title>
+ <para>
+ To install the Node Startup Controller into the system using the paths
+ specified as part of the build configuration, simply run:
+ </para>
+ <programlisting>make install</programlisting>
+ </formalpara>
+ </listitem>
+ </orderedlist>
+ </refsect1>
</refentry>