On Sun, 05 Jun 2011 18:22:10 +0200, Olivier Berger <ober...@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
files.

Here is an except from d/rules for darktable.

PLUGIN_EXCLUDES=$(patsubst %,-X%, \
         $(notdir $(shell cat $(wildcard debian/darktable-plugins-*.install))))

override_dh_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.

David


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vcwk2f4k.fsf@zancas.localnet

Reply via email to