[ANNOUNCE] dh_splitpackage 0.2.2
zygmunt.krynicki at canonical.com
Sat Jun 4 18:46:00 UTC 2011
I'd like to announce a new version of dh_splitpackage.
This version improves documentation to a point where it's rather easy to
get started and use this helper while packaging. A new manual page has
been created with tool description documentation of all the command line
options, configuration file schema, pattern matching extensions and many
Some additional changes to the actual script made it possible to build
and work on Ubuntu Lucid 10.04 LTS. An Ubuntu PPA with this script is
now available at . In addition to this, a launchpad project has been
registered to simplify development . Finally the source tarball for
the release has been uploaded to pypi .
(a copy of the initial announcement)
I wrote dh_splitpackage, a helper script that unambiguously splits the
files of a binary package into multiple packages based on a
The configuration file may point the primary package (the one that gets
leftover files by default) as well as any number of additional packages
with any number of inclusion and exclusion patterns.
The new script can be called instead of dh_install (assuming all the
files you are interested in are already in debian/tmp/) or afterwards.
The biggest advantage compared to existing tools is clear and
not-that-error-prone classification of files to packages. Any file that
would be classified to more than one package (hitting patterns in both
files) is clearly reported and prevents the package from building
properly. In addition running the script displays each file from
debian/tmp and the package it was classified to.
Using this script could greatly simplify many packages that currently
rely on numerous *.install files and custom dh_install overrides in
More information about the ubuntu-devel