Commit Graph

2 Commits

Author SHA1 Message Date
Jan Tojnar
0124cbdac8
gtk-doc: clean up XML_CATALOG_FILES patch
libxml2 1.9.7 supports the XML_CATALOG_FILES environment variable
natively by using empty catalogfile argument.
2017-11-25 19:58:13 +01:00
Jan Tojnar
407db7b019
gtk_doc: replace catalog lookup hack
In the previous commit, we added a setup hook to docbook dtd and xsl
packages, that adds derivation’s catalog file to an environment variable.
That should, in theory, remove the need for declaring their catalogs manually.
Unfortunately, xmlcatalog utility expects exactly one catalog file, completely
disregarding the environment variable in non-interactive context. In the same
spirit, the design of gtk-doc m4 files only admits a single catalog file,
resulting in another ugly hack.
2017-10-07 23:37:35 +02:00