mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-24 10:51:26 +00:00
build system: add targets for file names of HTMLized man pages
This commit is contained in:
parent
39d7f18603
commit
7b569ea97b
4
Rakefile
4
Rakefile
@ -443,9 +443,11 @@ namespace :man2html do
|
||||
namespace language do
|
||||
dir = language == 'en' ? '' : "/#{language}"
|
||||
FileList[ "doc/man#{dir}/*.xml" ].each do |name|
|
||||
task File.basename(name, '.xml') => %w{manpages translations:manpages} do
|
||||
file name.ext('html') => %w{manpages translations:manpages} do
|
||||
runq "SAXON-HE #{name}", "java -classpath lib/saxon-he/saxon9he.jar net.sf.saxon.Transform -o:#{name.ext('html')} -xsl:doc/stylesheets/docbook-to-html.xsl #{name}"
|
||||
end
|
||||
|
||||
task File.basename(name, '.xml') => name.ext('html')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
1
doc/man/mkvtoolnix-doc.css
Symbolic link
1
doc/man/mkvtoolnix-doc.css
Symbolic link
@ -0,0 +1 @@
|
||||
../stylesheets/mkvtoolnix-doc.css
|
Loading…
Reference in New Issue
Block a user