[systemd-devel] [PATCH] man: ship systemd-udevd as the real manpage

Dave Reisner dreisner at archlinux.org
Fri Jul 27 17:46:40 PDT 2012


Instead of making systemd-udevd a so-link to systemd-udevd.service,
ship the real page as systemd-udevd to integrate better with distros
where udevd might be run standalone.
---
Sorry -- this should be a more readable version of the same patch.

 Makefile.am                                          | 10 +++++-----
 man/{systemd-udevd.service.xml => systemd-udevd.xml} |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename man/{systemd-udevd.service.xml => systemd-udevd.xml} (99%)

diff --git a/Makefile.am b/Makefile.am
index a74a806..6bcdf75 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1658,16 +1658,16 @@ libudev_private_la_LIBADD = \
 MANPAGES += \
 	man/udev.7 \
 	man/udevadm.8 \
-	man/systemd-udevd.service.8
+	man/systemd-udevd.8
 
 MANPAGES_ALIAS += \
-	man/systemd-udevd.8 \
+	man/systemd-udevd.service.8 \
 	man/systemd-udevd-control.socket.8 \
 	man/systemd-udevd-kernel.socket.8
 
-man/systemd-udevd.8: man/systemd-udevd.service.8
-man/systemd-udevd-control.socket.8: man/systemd-udevd.service.8
-man/systemd-udevd-kernel.socket.8: man/systemd-udevd.service.8
+man/systemd-udevd.service.8: man/systemd-udevd.8
+man/systemd-udevd-control.socket.8: man/systemd-udevd.8
+man/systemd-udevd-kernel.socket.8: man/systemd-udevd.8
 
 udev-confdirs:
 	-mkdir -p $(DESTDIR)$(sysconfdir)/udev/rules.d
diff --git a/man/systemd-udevd.service.xml b/man/systemd-udevd.xml
similarity index 99%
rename from man/systemd-udevd.service.xml
rename to man/systemd-udevd.xml
index 616c8f6..0045f23 100644
--- a/man/systemd-udevd.service.xml
+++ b/man/systemd-udevd.xml
@@ -18,16 +18,16 @@
   </refentryinfo>
 
   <refmeta>
-    <refentrytitle>systemd-udevd.service</refentrytitle>
+    <refentrytitle>systemd-udevd</refentrytitle>
     <manvolnum>8</manvolnum>
     <refmiscinfo class="version"></refmiscinfo>
   </refmeta>
 
   <refnamediv>
+    <refname>systemd-udevd</refname>
     <refname>systemd-udevd.service</refname>
     <refname>systemd-udevd-control.socket</refname>
     <refname>systemd-udevd-kernel.socket</refname>
-    <refname>systemd-udevd</refname>
     <refpurpose>Device event managing daemon</refpurpose>
   </refnamediv>
 
-- 
1.7.11.3



More information about the systemd-devel mailing list