aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPeter Eisentraut2013-03-01 09:29:20 -0500
committerJack Nagel2013-03-02 23:09:01 -0600
commit29d0e2a0be330a0569f2b76512f4ff1f9f39fae0 (patch)
tree81451c4468ac8c2c251e9d33fa15f24eff8ac387 /Library
parent8c5f69940fc69e137a217aeecae8f4015e660406 (diff)
downloadhomebrew-29d0e2a0be330a0569f2b76512f4ff1f9f39fae0.tar.bz2
docbook: install wrapper script to call dbtoepub
Closes #18164. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/docbook.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/docbook.rb b/Library/Formula/docbook.rb
index 413ed42b2..2894f31f4 100644
--- a/Library/Formula/docbook.rb
+++ b/Library/Formula/docbook.rb
@@ -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