[Build-common-hackers] Fixing automatic update of debian/control

Marc Dequènes (Duck) duck at duckcorp.org
Fri Mar 3 12:43:37 UTC 2006


Peter Eisentraut <peter_e at gmx.net> writes:

> Clearly, the automatic update of debian/control feature violates policy, 
> RM and/or ftpmaster standards, so it needs to be fixed.  I think it 
> would be simplest for everybody, and mostly painless for those packages 
> that use this feature, to leave all the rules in place but don't call 
> them automatically.  That is, to update debian/control, one would 
> manually call something like
> $ debian/rules debian/control
> Enterprising maintainers could even put this into their build scripts 
> before the dpkg-buildpackage call if they desire so.

yep, nice.

> Comments?  Better ideas?

In fact, this is a good idea to improve/repair the existing behavior,
but i'd like to suggest using substvars instead of control.in -> control
transformation. This also could be used for Uploaders, as using both
debian/control generation for build-depends and Uploaders (like in the
GNOME Team /usr/share/gnome-pkg-tools/1/rules/uploaders.mk class) is not
possible out of the box (a dirty hack is necessary in the clean rule).

Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060303/4262c36a/attachment.pgp

More information about the Build-common-hackers mailing list