diff options
author | davidovski <david@davidovski.xyz> | 2022-02-01 20:23:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-01 20:23:16 +0000 |
commit | 03b407c9349a1fff2d8d03ade85d7c52e798919d (patch) | |
tree | a2d3c347e67d670d845a0319c68225bbd8c2000d /repo/devel | |
parent | 5aaa6147d393547d4c5c0e123cc9d69c6d2103ed (diff) |
added mkdir to docbook
Diffstat (limited to 'repo/devel')
-rw-r--r-- | repo/devel/docbook-xml.xibuild | 204 |
1 files changed, 101 insertions, 103 deletions
diff --git a/repo/devel/docbook-xml.xibuild b/repo/devel/docbook-xml.xibuild index e91cb05..82fc756 100644 --- a/repo/devel/docbook-xml.xibuild +++ b/repo/devel/docbook-xml.xibuild @@ -16,116 +16,114 @@ package () { install -m644 tools/db4-upgrade.xsl \ $PKG_DEST/usr/share/xml/docbook/stylesheet/docbook5 + mkdir -pv $PKG_DEST/etc/xml + xmlcatalog --noout --create $PKG_DEST/etc/xml/docbook-$PKG_VER && - if [ ! -e $PKG_DEST/etc/xml/docbook-$PKG_VER ]; then - xmlcatalog --noout --create $PKG_DEST/etc/xml/docbook-$PKG_VER -fi && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbook.rng" \ + "file://usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/rng/docbook.rng" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbookxi.rng" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rng" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/rng/docbookxi.rng" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rng" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/rnc/docbook.rnc" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rnc" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/rng/docbook.rnc" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rnc" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/rnc/docbookxi.rnc" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rnc" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/rng/docbookxi.rnc" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rnc" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbook.rng" \ - "file://$PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/rng/docbook.rng" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbookxi.rng" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rng" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/rng/docbookxi.rng" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rng" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/rnc/docbook.rnc" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rnc" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/rng/docbook.rnc" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rnc" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/rnc/docbookxi.rnc" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rnc" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/rng/docbookxi.rnc" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbookxi.rnc" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/sch/docbook.sch" \ + "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/docbook.sch" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/sch/docbook.sch" \ + "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/docbook.sch" \ + $PKG_DEST/etc/xml/docbook-$PKG_VER -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/sch/docbook.sch" \ - "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/docbook.sch" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/sch/docbook.sch" \ - "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/docbook.sch" \ - $PKG_DEST/etc/xml/docbook-$PKG_VER + xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ + "docbook.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ + "docbook.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/schemas/rng/docbookxi.schemas/rng" \ + "docbookxi.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbookxi.schemas/rng" \ + "docbookxi.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.rnc" \ + "docbook.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbook.rnc" \ + "docbook.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/schemas/rng/docbookxi.rnc" \ + "docbookxi.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbookxi.rnc" \ + "docbookxi.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml + xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ - "docbook.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ - "docbook.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/schemas/rng/docbookxi.schemas/rng" \ - "docbookxi.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbookxi.schemas/rng" \ - "docbookxi.schemas/rng" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.rnc" \ - "docbook.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbook.rnc" \ - "docbook.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/schemas/rng/docbookxi.rnc" \ - "docbookxi.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/rng/docbookxi.rnc" \ - "docbookxi.rnc" $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml -xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://docbook.org/xml/$PKG_VER/schemas/sch/docbook.schemas/sch" \ + "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml && + xmlcatalog --noout --add "uri" \ + "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/sch/docbook.schemas/sch" \ + "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml -xmlcatalog --noout --add "uri" \ - "http://docbook.org/xml/$PKG_VER/schemas/sch/docbook.schemas/sch" \ - "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml && -xmlcatalog --noout --add "uri" \ - "http://www.oasis-open.org/docbook/xml/$PKG_VER/schemas/sch/docbook.schemas/sch" \ - "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml - -if [ ! -e $PKG_DEST/etc/xml/catalog ]; then - xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog -fi && -xmlcatalog --noout --add "delegatePublic" \ - "-//OASIS//DTD DocBook XML $PKG_VER//EN" \ - "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog && -xmlcatalog --noout --add "delegateSystem" \ - "http://docbook.org/xml/$PKG_VER/dtd/" \ - "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog && -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.org/xml/$PKG_VER/dtd/" \ - "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog && -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.org/xml/$PKG_VER/rng/" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog && -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.org/xml/$PKG_VER/sch/" \ - "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog && -xmlcatalog --noout --add "delegateURI" \ - "http://docbook.org/xml/$PKG_VER/xsd/" \ - "file:///usr/share/xml/docbook/schema/xsd/$PKG_VER/catalog.xml" \ - $PKG_DEST/etc/xml/catalog + if [ ! -e $PKG_DEST/etc/xml/catalog ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog + fi && + xmlcatalog --noout --add "delegatePublic" \ + "-//OASIS//DTD DocBook XML $PKG_VER//EN" \ + "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog && + xmlcatalog --noout --add "delegateSystem" \ + "http://docbook.org/xml/$PKG_VER/dtd/" \ + "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog && + xmlcatalog --noout --add "delegateURI" \ + "http://docbook.org/xml/$PKG_VER/dtd/" \ + "file:///usr/share/xml/docbook/schema/dtd/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog && + xmlcatalog --noout --add "delegateURI" \ + "http://docbook.org/xml/$PKG_VER/rng/" \ + "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog && + xmlcatalog --noout --add "delegateURI" \ + "http://docbook.org/xml/$PKG_VER/sch/" \ + "file:///usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog && + xmlcatalog --noout --add "delegateURI" \ + "http://docbook.org/xml/$PKG_VER/xsd/" \ + "file:///usr/share/xml/docbook/schema/xsd/$PKG_VER/catalog.xml" \ + $PKG_DEST/etc/xml/catalog } |