aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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