chiark / gitweb /
basic: split hash functions into their own header files
[elogind.git] / tools / make-directive-index.py
index 183eca3bb9f558e0c30620205406b0c11142494f..193f7416f7eec55852850a256f15f36adf5d36a7 100755 (executable)
@@ -51,20 +51,20 @@ TEMPLATE = '''\
         </refnamediv>
 
         <refsect1>
-                <title>PAM configuration directives</title>
+                <title>Environment variables</title>
 
-                <para>Directives for configuring PAM behaviour.</para>
+                <para>Environment variables understood by the elogind
+                manager and other programs.</para>
 
-                <variablelist id='pam-directives' />
+                <variablelist id='environment-variables' />
         </refsect1>
 
         <refsect1>
-                <title>elogind manager directives</title>
+                <title>PAM configuration directives</title>
 
-                <para>Directives for configuring the behaviour of the
-                elogind process.</para>
+                <para>Directives for configuring PAM behaviour.</para>
 
-                <variablelist id='elogind-directives' />
+                <variablelist id='pam-directives' />
         </refsect1>
 
         <refsect1>
@@ -195,6 +195,7 @@ def _make_section(template, name, directives, formatting):
             b = tree.SubElement(para, 'citerefentry')
             c = tree.SubElement(b, 'refentrytitle')
             c.text = manpage
+            c.attrib['target'] = varname
             d = tree.SubElement(b, 'manvolnum')
             d.text = manvolume
         entry.tail = '\n\n'