build system: fix xml-to-html dependencies in man2html targets

This commit is contained in:
Moritz Bunkus 2019-08-06 20:42:43 +02:00
parent 516f4ae810
commit 218e5b5ccd
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -737,7 +737,7 @@ namespace :man2html do
html = xml.map { |name| name.ext(".html") }
xml.each do |name|
file name.ext('html') => %w{manpages translations:manpages} do
file name.ext('html') => name 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