[systemd-commits] 3 commits - make-man-index.py man/bootup.xml man/daemon.xml man/kernel-command-line.xml man/locale.conf.xml man/machine-id.xml man/sd-journal.xml man/sd_booted.xml man/sd_listen_fds.xml man/sd_notify.xml man/systemd-ask-password-console.service.xml man/systemd-fstab-generator.xml man/systemd-halt.service.xml man/systemd-hostnamed.service.xml man/systemd-initctl.service.xml man/systemd-journald.service.xml man/systemd-localed.service.xml man/systemd-logind.service.xml man/systemd-machine-id-setup.xml man/systemd-notify.xml man/systemd-readahead-replay.service.xml man/systemd-remount-fs.service.xml man/systemd-shutdownd.service.xml man/systemd-suspend.service.xml man/systemd-timedated.service.xml man/systemd-tmpfiles.xml man/systemd-update-utmp-runlevel.service.xml man/systemd-user-sessions.service.xml man/systemd.automount.xml man/systemd.conf.xml man/systemd.device.xml man/systemd.exec.xml man/systemd.mount.xml man/systemd.path.xml man/systemd.service.xml man/systemd .snapshot.xml man/systemd.socket.xml man/systemd.swap.xml man/systemd.target.xml man/systemd.timer.xml man/systemd.unit.xml man/systemd.xml man/vconsole.conf.xml

Lennart Poettering lennart at kemper.freedesktop.org
Mon Jul 16 09:10:39 PDT 2012


 make-man-index.py                            |   28 +++++++++++++--------------
 man/bootup.xml                               |    2 -
 man/daemon.xml                               |    2 -
 man/kernel-command-line.xml                  |    2 -
 man/locale.conf.xml                          |    2 -
 man/machine-id.xml                           |    2 -
 man/sd-journal.xml                           |    2 -
 man/sd_booted.xml                            |    2 -
 man/sd_listen_fds.xml                        |    2 -
 man/sd_notify.xml                            |    2 -
 man/systemd-ask-password-console.service.xml |    3 --
 man/systemd-fstab-generator.xml              |    2 -
 man/systemd-halt.service.xml                 |    2 -
 man/systemd-hostnamed.service.xml            |    2 -
 man/systemd-initctl.service.xml              |    2 -
 man/systemd-journald.service.xml             |    2 -
 man/systemd-localed.service.xml              |    2 -
 man/systemd-logind.service.xml               |    2 -
 man/systemd-machine-id-setup.xml             |    2 -
 man/systemd-notify.xml                       |    2 -
 man/systemd-readahead-replay.service.xml     |    2 -
 man/systemd-remount-fs.service.xml           |    2 -
 man/systemd-shutdownd.service.xml            |    2 -
 man/systemd-suspend.service.xml              |    2 -
 man/systemd-timedated.service.xml            |    2 -
 man/systemd-tmpfiles.xml                     |    2 -
 man/systemd-update-utmp-runlevel.service.xml |    4 +--
 man/systemd-user-sessions.service.xml        |    2 -
 man/systemd.automount.xml                    |    2 -
 man/systemd.conf.xml                         |    2 -
 man/systemd.device.xml                       |    2 -
 man/systemd.exec.xml                         |    2 -
 man/systemd.mount.xml                        |    2 -
 man/systemd.path.xml                         |    2 -
 man/systemd.service.xml                      |    2 -
 man/systemd.snapshot.xml                     |    2 -
 man/systemd.socket.xml                       |    2 -
 man/systemd.swap.xml                         |    2 -
 man/systemd.target.xml                       |    2 -
 man/systemd.timer.xml                        |    2 -
 man/systemd.unit.xml                         |    2 -
 man/systemd.xml                              |    2 -
 man/vconsole.conf.xml                        |    2 -
 43 files changed, 57 insertions(+), 58 deletions(-)

New commits:
commit 92e1ecc62b8ad38d8dcd60baa996fc47feb04bc5
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jul 16 18:10:18 2012 +0200

    man: set description in italics in the index

diff --git a/make-man-index.py b/make-man-index.py
index e09d62a..3644090 100755
--- a/make-man-index.py
+++ b/make-man-index.py
@@ -42,11 +42,14 @@ for n in sorted(index.keys(), key = str.lower):
                 ul = SubElement(body, 'ul')
                 ul.set('style', 'list-style-type:none')
 
-        li = SubElement(ul, 'li');
+        li = SubElement(ul, 'li')
 
-        a = SubElement(li, 'a');
+        a = SubElement(li, 'a')
         a.set('href', path)
         a.text = n + '(' + section + ')'
-        a.tail = ' -- ' + purpose
+        a.tail = ' -- '
+
+        i = SubElement(li, 'i')
+        i.text = purpose
 
 stdout.write(tostring(html))

commit 34511ca7b166b0e89d08ff9870b0cf2624a7815f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jul 16 18:08:25 2012 +0200

    man: reword man page titles
    
    Make sure the man page titles are similar in style and capitalization so
    that our man page index looks pretty.

diff --git a/man/bootup.xml b/man/bootup.xml
index 760a5a4..ae70c95 100644
--- a/man/bootup.xml
+++ b/man/bootup.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>bootup</refname>
-                <refpurpose>The System Bootup Process</refpurpose>
+                <refpurpose>System bootup process</refpurpose>
         </refnamediv>
 
         <refsect1>
diff --git a/man/daemon.xml b/man/daemon.xml
index 83143dc..9d43353 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>daemon</refname>
-                <refpurpose>Writing and Packaging System Daemons</refpurpose>
+                <refpurpose>Writing and packaging system daemons</refpurpose>
         </refnamediv>
 
         <refsect1>
diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml
index d5c3f34..ae705ee 100644
--- a/man/kernel-command-line.xml
+++ b/man/kernel-command-line.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>kernel-command-line</refname>
-                <refpurpose>Kernel Command Line Parameters</refpurpose>
+                <refpurpose>Kernel command line parameters</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/locale.conf.xml b/man/locale.conf.xml
index b90efea..2cbcdc6 100644
--- a/man/locale.conf.xml
+++ b/man/locale.conf.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>locale.conf</refname>
-                <refpurpose>configuration file for locale settings</refpurpose>
+                <refpurpose>Configuration file for locale settings</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/machine-id.xml b/man/machine-id.xml
index 50295a8..7d424b7 100644
--- a/man/machine-id.xml
+++ b/man/machine-id.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>machine-id</refname>
-                <refpurpose>local machine ID configuration file</refpurpose>
+                <refpurpose>Local machine ID configuration file</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/sd-journal.xml b/man/sd-journal.xml
index a771f02..b6241a1 100644
--- a/man/sd-journal.xml
+++ b/man/sd-journal.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>sd-journal</refname>
-                <refpurpose>APIs for submitting and querying log entries to and from the Journal</refpurpose>
+                <refpurpose>APIs for submitting and querying log entries to and from the journal</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/sd_booted.xml b/man/sd_booted.xml
index 23caf5b..83cbd6b 100644
--- a/man/sd_booted.xml
+++ b/man/sd_booted.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>sd_booted</refname>
-                <refpurpose>Test whether the system is running the systemd init system.</refpurpose>
+                <refpurpose>Test whether the system is running the systemd init system</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/sd_listen_fds.xml b/man/sd_listen_fds.xml
index 5e90687..f6a9497 100644
--- a/man/sd_listen_fds.xml
+++ b/man/sd_listen_fds.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>sd_listen_fds</refname>
                 <refname>SD_LISTEN_FDS_START</refname>
-                <refpurpose>Check for file descriptors passed by the init system.</refpurpose>
+                <refpurpose>Check for file descriptors passed by the system manager</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index 1cd5b0a..606ee1e 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>sd_notify</refname>
                 <refname>sd_notifyf</refname>
-                <refpurpose>Notify init system about start-up completion and other daemon status changes</refpurpose>
+                <refpurpose>Notify service manager about start-up completion and other daemon status changes</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-ask-password-console.service.xml b/man/systemd-ask-password-console.service.xml
index 0baf882..6ca9436 100644
--- a/man/systemd-ask-password-console.service.xml
+++ b/man/systemd-ask-password-console.service.xml
@@ -46,8 +46,7 @@
                 <refname>systemd-ask-password-wall.service</refname>
                 <refname>systemd-ask-password-wall.path</refname>
                 <refpurpose>Query the user for system passwords on the
-                console and via
-                <citerefentry><refentrytitle>wall</refentrytitle><manvolnum>1</manvolnum></citerefentry></refpurpose>
+                console and via wall</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml
index a526bcf..785febd 100644
--- a/man/systemd-fstab-generator.xml
+++ b/man/systemd-fstab-generator.xml
@@ -42,7 +42,7 @@
 
         <refnamediv>
                 <refname>systemd-fstab-generator</refname>
-                <refpurpose>Unit generator for <filename>/etc/fstab</filename></refpurpose>
+                <refpurpose>Unit generator for /etc/fstab</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-halt.service.xml b/man/systemd-halt.service.xml
index 6957fb9..ab20f2b 100644
--- a/man/systemd-halt.service.xml
+++ b/man/systemd-halt.service.xml
@@ -48,7 +48,7 @@
                 <refname>systemd-reboot.service</refname>
                 <refname>systemd-kexec.service</refname>
                 <refname>systemd-shutdown</refname>
-                <refpurpose>systemd System Shutdown Logic</refpurpose>
+                <refpurpose>System shutdown logic</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-hostnamed.service.xml b/man/systemd-hostnamed.service.xml
index f98663f..9fee2a0 100644
--- a/man/systemd-hostnamed.service.xml
+++ b/man/systemd-hostnamed.service.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>systemd-hostnamed.service</refname>
                 <refname>systemd-hostnamed</refname>
-                <refpurpose>systemd Hostname Bus Mechanism</refpurpose>
+                <refpurpose>Hostname bus mechanism</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-initctl.service.xml b/man/systemd-initctl.service.xml
index d3b537d..eda6459 100644
--- a/man/systemd-initctl.service.xml
+++ b/man/systemd-initctl.service.xml
@@ -46,7 +46,7 @@
                 <refname>systemd-initctl.service</refname>
                 <refname>systemd-initctl.socket</refname>
                 <refname>systemd-initctl</refname>
-                <refpurpose>systemd <filename>/dev/initctl</filename> Compatibility</refpurpose>
+                <refpurpose>/dev/initctl compatibility</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml
index 8ae24d4..90f9290 100644
--- a/man/systemd-journald.service.xml
+++ b/man/systemd-journald.service.xml
@@ -46,7 +46,7 @@
                 <refname>systemd-journald.service</refname>
                 <refname>systemd-journald.socket</refname>
                 <refname>systemd-journald</refname>
-                <refpurpose>systemd Journal Service</refpurpose>
+                <refpurpose>Journal service</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-localed.service.xml b/man/systemd-localed.service.xml
index 121508e..f0f069b 100644
--- a/man/systemd-localed.service.xml
+++ b/man/systemd-localed.service.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>systemd-localed.service</refname>
                 <refname>systemd-localed</refname>
-                <refpurpose>systemd Locale Bus Mechanism</refpurpose>
+                <refpurpose>Locale bus mechanism</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-logind.service.xml b/man/systemd-logind.service.xml
index 436c277..00f3405 100644
--- a/man/systemd-logind.service.xml
+++ b/man/systemd-logind.service.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>systemd-logind.service</refname>
                 <refname>systemd-logind</refname>
-                <refpurpose>systemd Login Manager</refpurpose>
+                <refpurpose>Login manager</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-machine-id-setup.xml b/man/systemd-machine-id-setup.xml
index 36e6c55..25fb63a 100644
--- a/man/systemd-machine-id-setup.xml
+++ b/man/systemd-machine-id-setup.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd-machine-id-setup</refname>
-                <refpurpose>Initialize the machine ID in <filename>/etc/machine-id</filename></refpurpose>
+                <refpurpose>Initialize the machine ID in /etc/machine-id</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml
index e6c6a59..b03492c 100644
--- a/man/systemd-notify.xml
+++ b/man/systemd-notify.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd-notify</refname>
-                <refpurpose>Notify init system about start-up completion and other daemon status changes</refpurpose>
+                <refpurpose>Notify service manager about start-up completion and other daemon status changes</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-readahead-replay.service.xml b/man/systemd-readahead-replay.service.xml
index b56fdb8..66d2534 100644
--- a/man/systemd-readahead-replay.service.xml
+++ b/man/systemd-readahead-replay.service.xml
@@ -48,7 +48,7 @@
                 <refname>systemd-readahead-done.service</refname>
                 <refname>systemd-readahead-done.timer</refname>
                 <refname>systemd-readahead</refname>
-                <refpurpose>systemd Disk Read Ahead Logic</refpurpose>
+                <refpurpose>Disk read ahead logic</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-remount-fs.service.xml b/man/systemd-remount-fs.service.xml
index c1df5e6..d920c0c 100644
--- a/man/systemd-remount-fs.service.xml
+++ b/man/systemd-remount-fs.service.xml
@@ -43,7 +43,7 @@
         <refnamediv>
                 <refname>systemd-remount-fs.service</refname>
                 <refname>systemd-remount-fs</refname>
-                <refpurpose>Remount Root and Kernel File Systems</refpurpose>
+                <refpurpose>Remount root and kernel file systems</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-shutdownd.service.xml b/man/systemd-shutdownd.service.xml
index c4ace48..c1b8ef7 100644
--- a/man/systemd-shutdownd.service.xml
+++ b/man/systemd-shutdownd.service.xml
@@ -46,7 +46,7 @@
                 <refname>systemd-shutdownd.service</refname>
                 <refname>systemd-shutdownd.socket</refname>
                 <refname>systemd-shutdownd</refname>
-                <refpurpose>systemd scheduled shutdown daemon</refpurpose>
+                <refpurpose>Scheduled shutdown service</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml
index 1ae742b..d3e08a8 100644
--- a/man/systemd-suspend.service.xml
+++ b/man/systemd-suspend.service.xml
@@ -46,7 +46,7 @@
                 <refname>systemd-suspend.service</refname>
                 <refname>systemd-hibernate.service</refname>
                 <refname>systemd-sleep</refname>
-                <refpurpose>systemd System Sleep State Logic</refpurpose>
+                <refpurpose>System sleep state logic</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-timedated.service.xml b/man/systemd-timedated.service.xml
index 4bc5d9e..5645048 100644
--- a/man/systemd-timedated.service.xml
+++ b/man/systemd-timedated.service.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>systemd-timedated.service</refname>
                 <refname>systemd-timedated</refname>
-                <refpurpose>systemd Time and Date Bus Mechanism</refpurpose>
+                <refpurpose>Time and date bus mechanism</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml
index 63c8491..22744c7 100644
--- a/man/systemd-tmpfiles.xml
+++ b/man/systemd-tmpfiles.xml
@@ -48,7 +48,7 @@
                 <refname>systemd-tmpfiles-clean.service</refname>
                 <refname>systemd-tmpfiles-clean.timer</refname>
                 <refpurpose>Creates, deletes and cleans up volatile
-                and temporary files and directories.</refpurpose>
+                and temporary files and directories</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-update-utmp-runlevel.service.xml b/man/systemd-update-utmp-runlevel.service.xml
index fee7276..0e19581 100644
--- a/man/systemd-update-utmp-runlevel.service.xml
+++ b/man/systemd-update-utmp-runlevel.service.xml
@@ -44,8 +44,8 @@
                 <refname>systemd-update-utmp-runlevel.service</refname>
                 <refname>systemd-update-utmp-shutdown.service</refname>
                 <refname>systemd-update-utmp</refname>
-                <refpurpose>Write audit an utmp updates at runlevel
-                changes and shutdown.</refpurpose>
+                <refpurpose>Write audit and utmp updates at runlevel
+                changes and shutdown</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd-user-sessions.service.xml b/man/systemd-user-sessions.service.xml
index 5c65eb1..9214ec9 100644
--- a/man/systemd-user-sessions.service.xml
+++ b/man/systemd-user-sessions.service.xml
@@ -43,7 +43,7 @@
         <refnamediv>
                 <refname>systemd-user-sessions.service</refname>
                 <refname>systemd-user-sessions</refname>
-                <refpurpose>Permit user logins after boot, prohibit user logins at shutdown.</refpurpose>
+                <refpurpose>Permit user logins after boot, prohibit user logins at shutdown</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml
index bf4b5d8..43006d4 100644
--- a/man/systemd.automount.xml
+++ b/man/systemd.automount.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.automount</refname>
-                <refpurpose>systemd automount configuration files</refpurpose>
+                <refpurpose>Automount unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.conf.xml b/man/systemd.conf.xml
index 804a50e..7dc5cc1 100644
--- a/man/systemd.conf.xml
+++ b/man/systemd.conf.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.conf</refname>
-                <refpurpose>systemd manager configuration file</refpurpose>
+                <refpurpose>System and service manager configuration file</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.device.xml b/man/systemd.device.xml
index 78cddd6..7c05ab0 100644
--- a/man/systemd.device.xml
+++ b/man/systemd.device.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.device</refname>
-                <refpurpose>systemd device configuration files</refpurpose>
+                <refpurpose>Device unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 2911786..c04db12 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.exec</refname>
-                <refpurpose>systemd execution environment configuration</refpurpose>
+                <refpurpose>Execution environment configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index 4bf6523..105afb4 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.mount</refname>
-                <refpurpose>systemd mount configuration files</refpurpose>
+                <refpurpose>Mount unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.path.xml b/man/systemd.path.xml
index 2d02318..af23029 100644
--- a/man/systemd.path.xml
+++ b/man/systemd.path.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.path</refname>
-                <refpurpose>systemd path configuration files</refpurpose>
+                <refpurpose>Path unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 491c3df..38a4035 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.service</refname>
-                <refpurpose>systemd service configuration files</refpurpose>
+                <refpurpose>Service unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.snapshot.xml b/man/systemd.snapshot.xml
index db3343a..b432682 100644
--- a/man/systemd.snapshot.xml
+++ b/man/systemd.snapshot.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.snapshot</refname>
-                <refpurpose>systemd snapshot units</refpurpose>
+                <refpurpose>Snapshot unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml
index d3762cd..5ca1c7a 100644
--- a/man/systemd.socket.xml
+++ b/man/systemd.socket.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.socket</refname>
-                <refpurpose>systemd socket configuration files</refpurpose>
+                <refpurpose>Socket unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index beb8dba..aaf77f8 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.swap</refname>
-                <refpurpose>systemd swap configuration files</refpurpose>
+                <refpurpose>Swap unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.target.xml b/man/systemd.target.xml
index 61eeb7f..d1f4d22 100644
--- a/man/systemd.target.xml
+++ b/man/systemd.target.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.target</refname>
-                <refpurpose>systemd target configuration files</refpurpose>
+                <refpurpose>Target unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
index 0b20435..6fc26a5 100644
--- a/man/systemd.timer.xml
+++ b/man/systemd.timer.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.timer</refname>
-                <refpurpose>systemd timer configuration files</refpurpose>
+                <refpurpose>Timer unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 4a2e9c3..2868620 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>systemd.unit</refname>
-                <refpurpose>systemd unit configuration files</refpurpose>
+                <refpurpose>Unit configuration</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/systemd.xml b/man/systemd.xml
index a184b1a..c598a89 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -45,7 +45,7 @@
         <refnamediv>
                 <refname>systemd</refname>
                 <refname>init</refname>
-                <refpurpose>systemd System and Service Manager</refpurpose>
+                <refpurpose>systemd system and service manager</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>
diff --git a/man/vconsole.conf.xml b/man/vconsole.conf.xml
index 8617721..e23a980 100644
--- a/man/vconsole.conf.xml
+++ b/man/vconsole.conf.xml
@@ -44,7 +44,7 @@
 
         <refnamediv>
                 <refname>vconsole.conf</refname>
-                <refpurpose>configuration file for the virtual console</refpurpose>
+                <refpurpose>Configuration file for the virtual console</refpurpose>
         </refnamediv>
 
         <refsynopsisdiv>

commit 8864111310fdcd2a3e14a06561214f7a756dbe6f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jul 16 17:39:26 2012 +0200

    man: show man page summary in index, too

diff --git a/make-man-index.py b/make-man-index.py
index 1333521..e09d62a 100755
--- a/make-man-index.py
+++ b/make-man-index.py
@@ -1,19 +1,16 @@
 #!/usr/bin/env python
 
 from xml.etree.ElementTree import parse, Element, SubElement, tostring
-import sys
+from sys import argv, stdout
 
 index = {}
 
-for p in sys.argv[1:]:
+for p in argv[1:]:
         t = parse(p)
-        section = t.find('./refmeta/manvolnum').text;
+        section = t.find('./refmeta/manvolnum').text
+        purpose = t.find('./refnamediv/refpurpose').text
         for f in t.findall('./refnamediv/refname'):
-                index[f.text] = (p, section)
-
-k = index.keys()
-k.sort(key = str.lower)
-
+                index[f.text] = (p, section, purpose)
 
 html = Element('html')
 
@@ -26,9 +23,8 @@ h1 = SubElement(body, 'h1')
 h1.text = 'Manual Page Index'
 
 letter = None
-
-for n in k:
-        path, section = index[n]
+for n in sorted(index.keys(), key = str.lower):
+        path, section, purpose = index[n]
 
         if path.endswith('.xml'):
                 path = path[:-4] + ".html"
@@ -51,5 +47,6 @@ for n in k:
         a = SubElement(li, 'a');
         a.set('href', path)
         a.text = n + '(' + section + ')'
+        a.tail = ' -- ' + purpose
 
-print tostring(html)
+stdout.write(tostring(html))



More information about the systemd-commits mailing list