[systemd-devel] [PATCH 3/4] directive-index: systemd fields

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun Sep 16 08:43:07 PDT 2012


---
 Makefile.am             | 4 +++-
 make-directive-index.py | 6 ++++++
 man/systemd.conf.xml    | 2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5a133da..32f08ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -702,7 +702,9 @@ XML_DIRECTIVE_FILES = \
 	man/systemd.timer.xml \
 	man/systemd.snapshot.xml \
 	man/systemd.exec.xml \
-	man/systemd.device.xml
+	man/systemd.kill.xml \
+	man/systemd.device.xml \
+	man/systemd.conf.xml
 
 man/systemd.directives.xml: make-directive-index.py $(XML_DIRECTIVE_FILES)
 	$(AM_V_at)$(MKDIR_P) $(dir $@)
diff --git a/make-directive-index.py b/make-directive-index.py
index d16267e..6bceba4 100644
--- a/make-directive-index.py
+++ b/make-directive-index.py
@@ -39,6 +39,11 @@ TEMPLATE = '''\
         </refsect1>
 
         <refsect1>
+                <title>Systemd directives</title>
+                <variablelist id='systemd-directives' />
+        </refsect1>
+
+        <refsect1>
                 <title>UDEV directives</title>
 
                 <para>Directives for configuring systemd units through the
@@ -100,6 +105,7 @@ def make_page(xml_files):
     directive_groups = {name:collections.defaultdict(list)
                         for name in ['unit-directives',
                                      'udev-directives',
+                                     'systemd-directives',
                                      ]}
     for page in xml_files:
         _extract_directives(directive_groups, page)
diff --git a/man/systemd.conf.xml b/man/systemd.conf.xml
index a550c2c..7776c8f 100644
--- a/man/systemd.conf.xml
+++ b/man/systemd.conf.xml
@@ -69,7 +69,7 @@
                 <para>All options are configured in the
                 <literal>[Manager]</literal> section:</para>
 
-                <variablelist>
+                <variablelist class='systemd-directives'>
 
                         <varlistentry>
                                 <term><varname>LogLevel=</varname></term>
-- 
1.7.12.rc1.173.g9b27acc



More information about the systemd-devel mailing list