Re: flow of things rules/debhelper
Hi,
On Wed, Apr 07, 2010 at 09:21:19AM +0200, Raphael Hertzog wrote:
> And if one wanted to be picky, you could note that the sequence for
> binary-indep does not include dh_strip, dh_makeshlibs and dh_shlibdeps.
Good points.
FEW files missing in the following chapter are:
NEWS
TODO
Also .ex things are quite confusing. I should just use real names in title.
What is needed is documentation on dh_listpackages and its usage to sort
out binary-indep and binary-arch difference for override commands.
Otherwise, buildd may fail if they only install Build-Depends: (I vaguely
remember, they install Build-Depends-Indep: too. But you never know.)
I am thinking to use example like from pam package but simplified.
----------
# .install files don't have "except for" handling, so we need to exclude
# our module that doesn't match right here
override_dh_install:
ifneq (,$(findstring libpam-modules, $(shell dh_listpackages)))
dh_install -plibpam-modules -Xpam_cracklib
endif
dh_install -Nlibpam-modules
override_dh_fixperms:
dh_fixperms
ifneq (,$(findstring libpam-modules, $(shell dh_listpackages)))
chgrp shadow $(d)/libpam-modules/sbin/unix_chkpwd
chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
endif
Reply to: