Commit Graph

3 Commits (918d28c2669b4e4ad907354943c1a9798c4521a8)

Author SHA1 Message Date
Jack Nagel 3876d6981e gtk-doc: find the libxml2 python site-packages directory
Add an explicit dependency on libxml2 for clarity. Previously it was
implicit in the gnome-doc-utils dep. Prepend its site-packages directory
to the PYTHONPATH.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-23 20:06:07 -05:00
Jack Nagel 314c5d162a docbook: keep XML catalog inside HOMEBREW_PREFIX
Rather than download a shell script and tell users to run it with
`sudo`, it is better to keep everything under Homebrew's control.
Luckily, the XML toolchain provides the environment variable
XML_CATALOG_FILES to allow files otehr than /etc/xml/catalog to be used.

So remove the shell script, and do all the work inside the formula
itself. When we're done, we just tell the user to add
HOMEBREW_PREFIX/etc/xml/catalog to their shell configuration, rather
than tell them to `sudo docbook-register`.

Rather than download the shell script, just download docbook 5.0, which
we need anyway.

This also simplifies the logic in a handful of docbook-using formula.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15 09:22:59 -06:00
Alexander Böhn 47c527f09a New formula: gtk-doc
Closes Homebrew/homebrew#10166.

[jn: fixed deps, --disable-scrollkeeper]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 18:47:00 -06:00