mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Build system: fix HTML man pages target for XSLT 2.0 stylesheets
This commit is contained in:
parent
4935be1643
commit
23e633a765
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,6 +35,7 @@
|
||||
/doc/man/*/*.xml
|
||||
/doc/man/po4a/po/mkvtoolnix.pot
|
||||
/lib/gtest
|
||||
/lib/saxon-he
|
||||
/po/*.mo
|
||||
/po/mkvtoolnix.pot
|
||||
/rake.d/dependency.d
|
||||
|
2
Rakefile
2
Rakefile
@ -417,7 +417,7 @@ namespace :man2html do
|
||||
dir = language == 'en' ? '' : "/#{language}"
|
||||
FileList[ "doc/man#{dir}/*.xml" ].each do |name|
|
||||
task File.basename(name, '.xml') => %w{manpages translations:manpages} do
|
||||
runq "XSLTPROC #{name}", "xsltproc --nonet -o #{name.ext('html')} /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl #{name}"
|
||||
runq "JAVA", "java -classpath lib/saxon-he/saxon9he.jar net.sf.saxon.Transform -o:#{name.ext('html')} -xsl:doc/stylesheets/docbook-to-html.xsl #{name}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user