summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-09-16 11:11:34 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-09-17 12:42:22 +0200
commite1abd3efabb95a30d0702ed1c7c33c57bf898297 (patch)
treede4c305a2935cbad215d52a2baab236268d64f5d
parentd9cfd69403d18438d7bafd172d6a0686940c2e30 (diff)
directive-index: add UDEV fields
-rw-r--r--Makefile.am3
-rw-r--r--make-directive-index.py10
-rw-r--r--man/systemd.device.xml2
3 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b0649e4f03..5a133da466 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -701,7 +701,8 @@ XML_DIRECTIVE_FILES = \
man/systemd.path.xml \
man/systemd.timer.xml \
man/systemd.snapshot.xml \
- man/systemd.exec.xml
+ man/systemd.exec.xml \
+ man/systemd.device.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 0c3b67a9d9..49d1028edb 100644
--- a/make-directive-index.py
+++ b/make-directive-index.py
@@ -38,6 +38,15 @@ TEMPLATE = '''\
<variablelist id='unit-directives' />
</refsect1>
+
+ <refsect1>
+ <title>UDEV directives</title>
+
+ <para>Directives for configuring systemd units through the
+ udev database.</para>
+
+ <variablelist id='udev-directives' />
+ </refsect1>
</refentry>
'''
@@ -91,6 +100,7 @@ def make_page(xml_files):
"Extract directives from xml_files and return XML index tree."
directive_groups = {name:collections.defaultdict(list)
for name in ['unit-directives',
+ 'udev-directives',
]}
for page in xml_files:
_extract_directives(directive_groups, page)
diff --git a/man/systemd.device.xml b/man/systemd.device.xml
index c360319d23..141d72e3dc 100644
--- a/man/systemd.device.xml
+++ b/man/systemd.device.xml
@@ -96,7 +96,7 @@
database (which is recommended). The following udev
properties are understood by systemd:</para>
- <variablelist>
+ <variablelist class='udev-directives'>
<varlistentry>
<term><varname>SYSTEMD_WANTS=</varname></term>
<listitem><para>Adds dependencies of