summaryrefslogtreecommitdiff
path: root/homebrew/docbookxsl/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/docbookxsl/.make.sh-auto')
-rw-r--r--homebrew/docbookxsl/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/docbookxsl/.make.sh-auto b/homebrew/docbookxsl/.make.sh-auto
new file mode 100644
index 000000000..258e1c313
--- /dev/null
+++ b/homebrew/docbookxsl/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+[prefix/"docbook-xsl/catalog.xml", prefix/"docbook-xsl-ns/catalog.xml"].each do |catalog|
+xmlcatalog --noout --del file://#{catalog} #{etc}/xml/catalog
+xmlcatalog --noout --add nextCatalog file://#{catalog} #{etc}/xml/catalog