Include environment variables in the manpages

This commit is contained in:
Eelco Dolstra 2012-04-06 21:56:20 +02:00
parent 998b977ede
commit 5863987bba
5 changed files with 37 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<para>Most Nix commands interpret the following environment variables:</para>
<variablelist>
<variablelist xml:id="env-common">
<varlistentry><term><envar>NIX_IGNORE_SYMLINK_STORE</envar></term>

View file

@ -145,4 +145,13 @@ firefox firefox-config</screen>
</refsection>
<refsection condition="manpage"><title>Environment variables</title>
<variablelist>
<xi:include href="env-common.xml#xmlns(db=http://docbook.org/ns/docbook)xpointer(//db:variablelist[@xml:id='env-common']/*)" />
</variablelist>
</refsection>
</refentry>

View file

@ -1254,5 +1254,13 @@ error: no generation older than the current (91) exists</screen>
</refsection>
<refsection condition="manpage"><title>Environment variables</title>
<variablelist>
<xi:include href="env-common.xml#xmlns(db=http://docbook.org/ns/docbook)xpointer(//db:variablelist[@xml:id='env-common']/*)" />
</variablelist>
</refsection>
</refentry>

View file

@ -202,4 +202,13 @@ $ echo 'rec { x = "foo"; y = x; }' | nix-instantiate --eval-only --xml --strict
</refsection>
<refsection condition="manpage"><title>Environment variables</title>
<variablelist>
<xi:include href="env-common.xml#xmlns(db=http://docbook.org/ns/docbook)xpointer(//db:variablelist[@xml:id='env-common']/*)" />
</variablelist>
</refsection>
</refentry>

View file

@ -1047,7 +1047,7 @@ backups and when migrating to different database schemas.</para>
<!--######################################################################-->
<refsection><title>Operation <option>--dump-db</option></title>
<refsection><title>Operation <option>--load-db</option></title>
<refsection>
<title>Synopsis</title>
@ -1068,4 +1068,13 @@ loads it into the Nix database.</para>
</refsection>
<refsection condition="manpage"><title>Environment variables</title>
<variablelist>
<xi:include href="env-common.xml#xmlns(db=http://docbook.org/ns/docbook)xpointer(//db:variablelist[@xml:id='env-common']/*)" />
</variablelist>
</refsection>
</refentry>