X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tools%2Fmake-directive-index.py;h=193f7416f7eec55852850a256f15f36adf5d36a7;hb=794becf1e6b0c357ad0d560b9c53e172cdb86e0b;hp=183eca3bb9f558e0c30620205406b0c11142494f;hpb=b514d6c9dcc7c0d7353f975ecfb94f2197c73cf1;p=elogind.git
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 183eca3bb..193f7416f 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -51,20 +51,20 @@ TEMPLATE = '''\
- PAM configuration directives
+ Environment variables
- Directives for configuring PAM behaviour.
+ Environment variables understood by the elogind
+ manager and other programs.
-
+
- elogind manager directives
+ PAM configuration directives
- Directives for configuring the behaviour of the
- elogind process.
+ Directives for configuring PAM behaviour.
-
+
@@ -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'