]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/custom-html.xsl
Add SPDX license identifiers to man pages
[thirdparty/systemd.git] / man / custom-html.xsl
index 84c23014e4bf255e045828a72ab933dd288687f1..47ce6abfee0c7749028cbf306960ac9a14149bb0 100644 (file)
@@ -1,6 +1,8 @@
 <?xml version='1.0'?> <!--*-nxml-*-->
 
 <!--
+  SPDX-License-Identifier: LGPL-2.1+
+
   This file is part of systemd.
 
   Copyright 2011 Lennart Poettering
@@ -37,7 +39,8 @@
 <xsl:template match="citerefentry[not(@project)]">
   <a>
     <xsl:attribute name="href">
-      <xsl:value-of select="refentrytitle"/><xsl:text>.html</xsl:text>
+      <xsl:value-of select="refentrytitle"/><xsl:text>.html#</xsl:text>
+      <xsl:value-of select="refentrytitle/@target"/>
     </xsl:attribute>
     <xsl:call-template name="inline.charseq"/>
   </a>