man > dh_installxmlcatalogs(1)

📛 NAME

dh_installxmlcatalogs — install and register XML catalog files

🚀 Quick Reference

Use CaseCommandDescription
Install XML catalogs with default behaviordh_installxmlcatalogs📦 Installs and registers XML catalog entries per debian/package.xmlcatalogs
Skip maintainer script modificationsdh_installxmlcatalogs -n⏭️ Install catalogs without modifying postinst/postrm/prerm scripts
Register a local catalog filelocal;source;dest📄 Entry in debian/package.xmlcatalogs to install a local catalog
Register an entity in package catalogpackage;type;id;catalog📌 Registers an XML entity in the package's catalog file
Register an entity in root catalogroot;type;id🌐 Registers an XML entity in the root catalog system-wide
Register entity in both catalogsroot-and-package;type;id;catalog🔗 Registers an XML entity in both root and package catalogs

📋 SYNOPSIS

dh_installxmlcatalogs [debhelper options] [-n]

📝 DESCRIPTION

dh_installxmlcatalogs is a debhelper program that installs and registers XML catalog files. It complies with the Debian XML/SGML policy.

The file debian/package.xmlcatalogs lists the local XML catalog files to be installed per package as well as the XML entities in those local XML catalog files that are to be registered in the XML catalog system.

📄 Local XML Catalog File Entries

Entries in debian/package.xmlcatalogs for local catalog files use the form:

local;source;dest

📦 Package XML Entity Entries

Entries for entities to be registered in the package catalog:

package;type;id;catalog

🌐 Root XML Entity Entries

Entries for entities to be registered in the root catalog:

root;type;id

🔗 Dual Registration Entries

For entries to be registered in both root and package catalogs:

root-and-package;type;id;catalog

XML entity types are described in update-xmlcatalog(8). Using the "root" or "package" commands, a type of "public" will generate delegatePublic statements in the applicable catalog file. Generally you will want to use:

dh_installxmlcatalogs automatically adds maintainer script snippets for registration and unregistration of the listed XML entities (unless -n is used). A dependency on the xml-core package will be added to ${misc:Depends}, so be sure to use that variable in debian/control. See dh_installdeb(1) for an explanation of Debhelper maintainer script snippets.

⚙️ OPTIONS

-n, --noscripts

⏭️ Do not modify postinst/postrm/prerm scripts.

📌 NOTES

⚠️ Note that this command is not idempotent. dh_clean -k should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts.

🔗 SEE ALSO

👤 AUTHOR

dh_installxmlcatalogs(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION
📄 Local XML Catalog File Entries 📦 Package XML Entity Entries 🌐 Root XML Entity Entries 🔗 Dual Registration Entries
⚙️ OPTIONS
-n, --noscripts
📌 NOTES 🔗 SEE ALSO 👤 AUTHOR

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-03 14:09 @216.73.216.5
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format