summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-01-18 11:43:02 +0100
committerAlexander Larsson <alexl@redhat.com>2016-01-18 11:43:02 +0100
commit3341fb08adc981879043445e8c40883786705738 (patch)
tree13e0e4d88a62f20b4b3513f85ec6a9acaff424c0 /doc
parent701d800059b36b67d890363a2ccaf02b9a693f5f (diff)
downloadxdg-app-3341fb08adc981879043445e8c40883786705738.tar.gz
builder: Allow building runtime sdks (based on existing sdk)
This includes a few different changes: * Add build-runtime boolean property * Rename "app-id" property to "id" * Add metadata property to use a custom base metadata file * Default to writable-sdk to TRUE for runtimes * Default prefix to /usr for runtimes * Put manifest in usr for runtimes * Pick up debuginfo from usr for runtimes * Make build-finish work on runtimes, but only export appdata
Diffstat (limited to 'doc')
-rw-r--r--doc/xdg-app-builder.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/xdg-app-builder.xml b/doc/xdg-app-builder.xml
index 2a86970..b5ba533 100644
--- a/doc/xdg-app-builder.xml
+++ b/doc/xdg-app-builder.xml
@@ -99,7 +99,7 @@
</para>
<variablelist>
<varlistentry>
- <term><option>app-id</option></term>
+ <term><option>id</option></term>
<listitem><para>A string defining the application id.</para></listitem>
</varlistentry>
<varlistentry>
@@ -119,12 +119,21 @@
<listitem><para>The name of the development runtime that the application builds with.</para></listitem>
</varlistentry>
<varlistentry>
+ <term><option>metadata</option></term>
+ <listitem><para>Use this file as the base metadata file when finishing.</para></listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>command</option></term>
<listitem><para>The filename or path to the main binary of the application.</para></listitem>
</varlistentry>
<varlistentry>
+ <term><option>build-runtime</option></term>
+ <listitem><para>Build a new runtime instead of an application.</para></listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>writable-sdk</option></term>
- <listitem><para>If true, use a writable copy of the sdk for /usr.</para></listitem>
+ <listitem><para>If true, use a writable copy of the sdk for /usr.
+ Defaults to true if --build-runtime is specieied</para></listitem>
</varlistentry>
<varlistentry>
<term><option>build-options</option></term>
@@ -196,7 +205,8 @@
</varlistentry>
<varlistentry>
<term><option>prefix</option></term>
- <listitem><para>The build prefix for the modules (defaults to <filename>/app</filename>).</para></listitem>
+ <listitem><para>The build prefix for the modules (defaults to <filename>/app</filename> for
+ applications and <filename>/usr</filename> for runtimes).</para></listitem>
</varlistentry>
<varlistentry>
<term><option>env</option></term>