docbook: install wrapper script to call dbtoepub
Closes Homebrew/homebrew#18164. Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
c04984059a
commit
7304119c25
|
@ -108,6 +108,11 @@ class Docbookxsl < Formula
|
|||
website xhtml xhtml-1_1 xhtml5]
|
||||
docbook = Formula.factory 'docbook'
|
||||
(docbook.prefix/'docbook/xsl'/version).install xsl_files + doc_files
|
||||
|
||||
(docbook.bin/'dbtoepub').write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
exec "#{docbook.prefix}/docbook/xsl/#{version}/epub/bin/dbtoepub" "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
def catalog
|
||||
|
|
Loading…
Reference in New Issue