diff options
-rw-r--r-- | docs/Makefile | 2 | ||||
-rw-r--r-- | docs/xslt/expand-sambadoc.xsl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile index 35e5f2fd87..1a9ac767ea 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -82,7 +82,7 @@ $(DOCBOOKDIR)/%.xml: $(MANPAGEDIR)/%.xml xslt/expand-sambadoc.xsl $(DOCBOOKDIR)/manpages.xml: $(MANPAGES) xslt/manpage-summary.xsl mkdir -p $(@D) echo "<article><variablelist>" > $@ - for I in $(MANPAGES); do $(XSLTPROC) xslt/manpage-summary.xsl $$I >> $@; done + $(XSLTPROC) xslt/manpage-summary.xsl $(MANPAGES) >> $@ echo "</variablelist></article>" >> $@ # HTML docs diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index 6633f34887..f74d14c66b 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -113,7 +113,7 @@ </xsl:element> <xsl:element name="member"> <xsl:element name="parameter"> - <xsl:apply-templates/> + <xsl:value-of select="@name"/> </xsl:element> </xsl:element> </xsl:template> @@ -201,7 +201,7 @@ <xsl:template match="smbconfsection"> <xsl:element name="parameter"> - <xsl:apply-templates/> + <xsl:value-of select="@name"/> </xsl:element> </xsl:template> |