chiark / gitweb /
directive-index: add UDEV fields
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Sep 2012 09:11:34 +0000 (11:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Sep 2012 10:42:22 +0000 (12:42 +0200)
Makefile.am
make-directive-index.py
man/systemd.device.xml

index b0649e4f03790e29ff10c10e4eb57e538ae48baf..5a133da4668b2f49308b1e6d1f9b547a74fc582f 100644 (file)
@@ -701,7 +701,8 @@ XML_DIRECTIVE_FILES = \
        man/systemd.path.xml \
        man/systemd.timer.xml \
        man/systemd.snapshot.xml \
        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 $@)
 
 man/systemd.directives.xml: make-directive-index.py $(XML_DIRECTIVE_FILES)
        $(AM_V_at)$(MKDIR_P) $(dir $@)
index 0c3b67a9d9ab1318f02693eeaef448d88963bf11..49d1028edb8778b8187a1451c6611b1815788361 100644 (file)
@@ -38,6 +38,15 @@ TEMPLATE = '''\
 
                 <variablelist id='unit-directives' />
         </refsect1>
 
                 <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>
 '''
 
 </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',
     "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)
                                      ]}
     for page in xml_files:
         _extract_directives(directive_groups, page)
index c360319d23552169d607bb47c3285e53d066bd8b..141d72e3dcc9bb8f155864d741cc7638e61fa7b4 100644 (file)
@@ -96,7 +96,7 @@
                 database (which is recommended). The following udev
                 properties are understood by systemd:</para>
 
                 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
                         <varlistentry>
                                 <term><varname>SYSTEMD_WANTS=</varname></term>
                                 <listitem><para>Adds dependencies of