aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike Clarke2013-05-07 01:06:49 +0100
committerAdam Vandenberg2013-05-15 10:09:15 -0700
commit2680beeddcce4b45c8cbdc09d2c45e3329f2b14f (patch)
treea136aa7e84ee2de414fa0c05441332cc9c6e2af3 /Library
parent9510e12019843466a2cb612cfb3a2a4c45ce2b43 (diff)
downloadhomebrew-2680beeddcce4b45c8cbdc09d2c45e3329f2b14f.tar.bz2
asciidoc: Add caveat about XML catalog
Closes #19640. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/asciidoc.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/asciidoc.rb b/Library/Formula/asciidoc.rb
index 17eb98923..f869ca6c9 100644
--- a/Library/Formula/asciidoc.rb
+++ b/Library/Formula/asciidoc.rb
@@ -18,4 +18,18 @@ class Asciidoc < Formula
inreplace 'Makefile', '-f manpage', '-f manpage -L'
system "make install"
end
+
+ def caveats; <<-EOS.undent
+ If you intend to process AsciiDoc files through an XML stage
+ (such as a2x for manpage generation) you need to add something
+ like:
+
+ export XML_CATALOG_FILES=#{HOMEBREW_PREFIX}/etc/xml/catalog
+
+ to your shell rc file so that xmllint can find AsciiDoc's
+ catalog files.
+
+ See `man 1 xmllint' for more.
+ EOS
+ end
end