1ff636
From ec79f8b26d793d2e2ee1705ca86437049e0153c6 Mon Sep 17 00:00:00 2001
1ff636
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
1ff636
Date: Fri, 13 Mar 2015 21:24:30 -0500
1ff636
Subject: [PATCH] man: link to fd.o for dbus stuff
1ff636
1ff636
(cherry picked from commit 3b5cfcdb580f5b766ff7fb1a2839bd37d74a98de)
1ff636
---
1ff636
 man/busctl.xml                      |  2 +-
1ff636
 man/custom-html.xsl                 | 13 +++++++++++++
1ff636
 man/systemd-bus-proxyd.xml          |  2 +-
1ff636
 man/systemd-bus-proxyd@.service.xml |  2 +-
1ff636
 man/systemd-machine-id-setup.xml    |  2 +-
1ff636
 5 files changed, 17 insertions(+), 4 deletions(-)
1ff636
1ff636
diff --git a/man/busctl.xml b/man/busctl.xml
c62b8e
index cc1844b0a0..807fc78e8f 100644
1ff636
--- a/man/busctl.xml
1ff636
+++ b/man/busctl.xml
1ff636
@@ -465,7 +465,7 @@ o "/org/freedesktop/systemd1/job/42684"</programlisting>
1ff636
     <title>See Also</title>
1ff636
 
1ff636
     <para>
1ff636
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
1ff636
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>,
1ff636
       <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
1ff636
diff --git a/man/custom-html.xsl b/man/custom-html.xsl
c62b8e
index 32299db710..706b95a1c4 100644
1ff636
--- a/man/custom-html.xsl
1ff636
+++ b/man/custom-html.xsl
1ff636
@@ -91,6 +91,19 @@
1ff636
   <xsl:call-template name="inline.charseq"/>
1ff636
 </xsl:template>
1ff636
 
1ff636
+<xsl:template match="citerefentry[@project='dbus']">
1ff636
+  
1ff636
+    <xsl:attribute name="href">
1ff636
+      <xsl:text>http://dbus.freedesktop.org/doc/</xsl:text>
1ff636
+      <xsl:value-of select="refentrytitle"/>
1ff636
+      <xsl:text>.</xsl:text>
1ff636
+      <xsl:value-of select="manvolnum"/>
1ff636
+      <xsl:text>.html</xsl:text>
1ff636
+    </xsl:attribute>
1ff636
+    <xsl:call-template name="inline.charseq"/>
1ff636
+  
1ff636
+</xsl:template>
1ff636
+
1ff636
 <xsl:template match="refsect1/title|refsect1/info/title">
1ff636
   
1ff636
   

1ff636
diff --git a/man/systemd-bus-proxyd.xml b/man/systemd-bus-proxyd.xml
c62b8e
index 2c7764047b..e0efe99854 100644
1ff636
--- a/man/systemd-bus-proxyd.xml
1ff636
+++ b/man/systemd-bus-proxyd.xml
1ff636
@@ -101,7 +101,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
1ff636
     <title>See Also</title>
1ff636
 
1ff636
     <para>
1ff636
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
1ff636
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>
1ff636
     </para>
1ff636
diff --git a/man/systemd-bus-proxyd@.service.xml b/man/systemd-bus-proxyd@.service.xml
c62b8e
index 141b43f6d9..dc4f07ff1b 100644
1ff636
--- a/man/systemd-bus-proxyd@.service.xml
1ff636
+++ b/man/systemd-bus-proxyd@.service.xml
1ff636
@@ -73,7 +73,7 @@
1ff636
 
1ff636
     <para>
1ff636
       <citerefentry><refentrytitle>systemd-bus-proxyd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
1ff636
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
1ff636
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>
1ff636
     </para>
1ff636
diff --git a/man/systemd-machine-id-setup.xml b/man/systemd-machine-id-setup.xml
c62b8e
index 22bad3e5f4..182717f524 100644
1ff636
--- a/man/systemd-machine-id-setup.xml
1ff636
+++ b/man/systemd-machine-id-setup.xml
1ff636
@@ -122,7 +122,7 @@
1ff636
     <para>
1ff636
       <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
       <citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
1ff636
-      <citerefentry><refentrytitle>dbus-uuidgen</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
+      <citerefentry project='dbus'><refentrytitle>dbus-uuidgen</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1ff636
       <citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>
1ff636
     </para>
1ff636
   </refsect1>