Adding setup-hook for opensp, to set the sgml catalog files

This sets the SGML_CATALOG_FILES, similar to how libxml2 does the same with
XML_CATALOG_FILES.

I based the hook on the libxml2 one, and I followed the instructions about this
variable here:
http://docbook.sourceforge.net/release/dsssl/1.79/doc/install.html
This commit is contained in:
Lluís Batlle i Rossell
2013-03-18 15:07:20 +01:00
parent 4ae71ad19d
commit d711dcc070
3 changed files with 29 additions and 1 deletions
+2
View File
@@ -13,6 +13,8 @@ stdenv.mkDerivation {
docsrc/*.xml
'';
setupHook = ./setup-hook.sh;
buildInputs = [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl ];
meta = {