X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tools%2Fmake-directive-index.py;h=193f7416f7eec55852850a256f15f36adf5d36a7;hb=879674e2c9f8138364a839cd251ddd4ec97c7090;hp=17b1325bba62647e4e2b74d74415dcfa8a7e1c12;hpb=81c7dd897c6af68e66b58e97abce676641edc197;p=elogind.git
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 17b1325bb..193f7416f 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -1,21 +1,21 @@
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
-# This file is part of systemd.
+# This file is part of elogind.
#
# Copyright 2012-2013 Zbigniew JÄdrzejewski-Szmek
#
-# systemd is free software; you can redistribute it and/or modify it
+# elogind is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
-# systemd is distributed in the hope that it will be useful, but
+# elogind is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with systemd; If not, see .
+# along with elogind; If not, see .
import sys
import collections
@@ -24,11 +24,11 @@ from xml_helper import *
from copy import deepcopy
TEMPLATE = '''\
-
+
- systemd.directives
- systemd
+ elogind.directives
+ elogind
@@ -41,69 +41,24 @@ TEMPLATE = '''\
- systemd.directives
+ elogind.directives
7
- systemd.directives
+ elogind.directives
Index of configuration directives
-
- Unit directives
-
- Directives for configuring units, used in unit
- files.
-
-
-
-
-
- Options on the kernel command line
-
- Kernel boot options for configuring the behaviour of the
- systemd process.
-
-
-
-
Environment variables
- Environment variables understood by the systemd
+ Environment variables understood by the elogind
manager and other programs.
-
- UDEV directives
-
- Directives for configuring systemd units through the
- udev database.
-
-
-
-
-
- Network directives
-
- Directives for configuring network links through the
- net-setup-link udev builtin and networks through
- systemd-networkd.
-
-
-
-
-
- Journal fields
-
- Fields in the journal events with a well known meaning.
-
-
-
-
PAM configuration directives
@@ -112,39 +67,11 @@ TEMPLATE = '''\
-
- /etc/crypttab and
- /etc/fstab options
-
- Options which influence mounted filesystems and
- encrypted volumes.
-
-
-
-
-
- System manager directives
-
- Directives for configuring the behaviour of the
- systemd process.
-
-
-
-
-
- bootchart.conf directives
-
- Directives for configuring the behaviour of the
- systemd-bootchart process.
-
-
-
-
command line options
Command-line options accepted by programs in the
- systemd suite.
+ elogind suite.
@@ -152,7 +79,7 @@ TEMPLATE = '''\
Constants
- Various constant used and/or defined by systemd.
+ Various constant used and/or defined by elogind.
@@ -268,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'