void-packages/templates/xmlcatmgr.pre_install
Juan RP c06defc719 Replace run_stuff with post/pre_<stage> variables.
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.

--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7
2008-10-27 03:56:42 +01:00

14 lines
518 B
Text

#
# Create XML and SGML catalogs once built.
#
echo "=> Creating SGML catalogs..."
$wrksrc/xmlcatmgr -sc $wrksrc/catalog.etc.sgml create
$wrksrc/xmlcatmgr -sc $wrksrc/catalog.sgml create
$wrksrc/xmlcatmgr -sc $wrksrc/catalog.etc.sgml add CATALOG \
$XBPS_MASTERDIR/share/sgml/catalog
echo "=> Creating XML catalogs..."
$wrksrc/xmlcatmgr -c $wrksrc/catalog.etc.xml create
$wrksrc/xmlcatmgr -c $wrksrc/catalog.xml create
$wrksrc/xmlcatmgr -c $wrksrc/catalog.etc.xml add nextCatalog \
$XBPS_MASTERDIR/share/xml/catalog