[Build-common-hackers] Emdebian and debhelper.mk
peter_e at gmx.net
Wed Dec 6 22:41:36 CET 2006
Neil Williams wrote:
> Maintaining patches outside the tree - we've already tried that
> approach and it is very difficult to maintain. It's far easier to
> change the rules by which the package is built than to change the
> system that follows those rules.
Well, I'm afraid that I don't agree with that approach. You need to
enforce your packaging policy at the lowest common denominator, and
that is dpkg in this case.
If you don't want to patch dpkg, why don't you write a plugin system for
it that hooks in some sort of postprocessing?
If you really don't want to go there, then the next lowest common
denominator is debhelper. You can easily patch dh_installdocs,
dh_installman, etc. to omit the files you don't want, and your job is
finished. Most of the work should already be done for the udeb mode,
so you can build on that.
So with those two options in hand, I don't see the need to touch cdbs at
More information about the Build-common-hackers