build system: add targets for file names of HTMLized man pages

This commit is contained in:
Moritz Bunkus 2015-02-25 20:29:32 +01:00
parent 39d7f18603
commit 7b569ea97b
2 changed files with 4 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1 @@
../stylesheets/mkvtoolnix-doc.css