Re: [ANNOUNCE] dh_splitpackage 0.2.2
On Sun, 05 Jun 2011 18:22:10 +0200, Olivier Berger <email@example.com> wrote:
> Uh... Maybe I missed the point of this tool which was obvious to many
> others, but could you provide a typical use case for using it ?
I assume it is a matter of not wanting to manually maintain $pkg.install
Here is an except from d/rules for darktable.
PLUGIN_EXCLUDES=$(patsubst %,-X%, \
$(notdir $(shell cat $(wildcard debian/darktable-plugins-*.install))))
dh_install -pdarktable $(PLUGIN_EXCLUDES)
The top level directory /usr/lib/darktable is listed in
darktable.install, but any files under that installed in other packages
will be excluded.
As usual with such "cleverness", one can question the tradeoff of
fragility versus ease of maintenance.