[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ANNOUNCE] dh_splitpackage 0.2.2

On Sun, 05 Jun 2011 18:22:10 +0200, Olivier Berger <obergix@debian.org> 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)
	dh_install --remaining-packages

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.


Reply to: