On Wed, Jun 08, 2005 at 07:09:35PM +0100, Andrew Suffield wrote: > Woah, it's not okay for sourceful uploads either. You *cannot* change > anything that goes into the source package at build time. This > includes the top entry in changelog and the source section of the > control file. Trying to do this *will not work*. > > At the point when the changes are made, the source package HAS ALREADY > BEEN BUILT. What happens is that the changes made in the currentx build > get included in the *next* source package you build from the same > tree, so the source and binary are perpetually out of sync. This is > BAD.
Cdbs lets you generate debian/control dynamically, via a control.in file, where e.g. @cdbs@ is substituted for build-deps needed by cdbs (which already caused bugs in the past), among other things. (It's not documented, but it's easily found by grepping for @cdbs@ in buildcore.mk.) So if we're documenting all this somewhere, we should probably also mention that this is not the best cdbs feature to use. Cheers, Christian Aichinger
signature.asc
Description: Digital signature