From 2680beeddcce4b45c8cbdc09d2c45e3329f2b14f Mon Sep 17 00:00:00 2001 From: Mike Clarke Date: Tue, 7 May 2013 01:06:49 +0100 Subject: asciidoc: Add caveat about XML catalog Closes #19640. Signed-off-by: Adam Vandenberg --- Library/Formula/asciidoc.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3