Compare commits
	
		
			2 Commits
		
	
	
		
			benzea/use
			...
			wip/jtojna
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					d3f85ae6ea | ||
| 
						 | 
					56265e91d6 | 
@@ -1,7 +1,7 @@
 | 
			
		||||
custom_target('gnome-extensions.1',
 | 
			
		||||
  input: ['gnome-extensions.txt', 'stylesheet.xsl'],
 | 
			
		||||
  input: 'gnome-extensions.adoc',
 | 
			
		||||
  output: 'gnome-extensions.1',
 | 
			
		||||
  command: [a2x, '-D', '@OUTDIR@', '--xsl-file', '@INPUT1@', '-f', 'manpage', '@INPUT0@'],
 | 
			
		||||
  command: [asciidoctor, '-D', '@OUTDIR@', '-b', 'manpage', '@INPUT@'],
 | 
			
		||||
  install_dir: mandir + '/man1',
 | 
			
		||||
  install: true
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,27 +0,0 @@
 | 
			
		||||
<?xml version='1.0'?>
 | 
			
		||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 | 
			
		||||
		version='1.0'>
 | 
			
		||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
 | 
			
		||||
 | 
			
		||||
<xsl:template match="variablelist/title">
 | 
			
		||||
  <xsl:text>.PP
</xsl:text>
 | 
			
		||||
  <xsl:call-template name="bold">
 | 
			
		||||
    <xsl:with-param name="node" select="."/>
 | 
			
		||||
    <xsl:with-param name="context" select=".."/>
 | 
			
		||||
  </xsl:call-template>
 | 
			
		||||
  <xsl:text>
</xsl:text>
 | 
			
		||||
</xsl:template>
 | 
			
		||||
 | 
			
		||||
<xsl:template match="varlistentry[preceding-sibling::title]">
 | 
			
		||||
  <xsl:if test="not(preceding-sibling::varlistentry)">
 | 
			
		||||
    <xsl:text>.RS 4
</xsl:text>
 | 
			
		||||
    <!-- comment out the leading .PP added by the original template -->
 | 
			
		||||
    <xsl:text>.\"</xsl:text>
 | 
			
		||||
  </xsl:if>
 | 
			
		||||
  <xsl:apply-imports/>
 | 
			
		||||
  <xsl:if test="position() = last()">
 | 
			
		||||
    <xsl:text>.RE
</xsl:text>
 | 
			
		||||
  </xsl:if>
 | 
			
		||||
</xsl:template>
 | 
			
		||||
 | 
			
		||||
</xsl:stylesheet>
 | 
			
		||||
@@ -36,7 +36,7 @@ if bash_completion.found()
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if get_option('man')
 | 
			
		||||
  a2x = find_program('a2x')
 | 
			
		||||
  asciidoctor = find_program('asciidoctor')
 | 
			
		||||
 | 
			
		||||
  subdir('man')
 | 
			
		||||
endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user