[SCM] midisport-firmware packaging branch, master, updated. debian/1.2-1-16-g5ff9202

Felipe Sateler fsateler at gmail.com
Thu Jul 15 17:39:59 UTC 2010


On 15/07/10 08:26, Jonas Smedegaard wrote:
> On Thu, Jul 15, 2010 at 10:20:51AM +0000,
> adiknoth-guest at users.alioth.debian.org wrote:
>>    Force regeneration of configure from configure.ac
> 
>> +post-patches::
>> +    autoreconf -fi
> 
> Beware that above only ensures the autoreconf rule gets invoked after
> post-patches, not that it gets invoked before other later rules, which
> most likely you should ensure too.
> 
> Also, above does not maintain build-dependencies on autotools.
> 
> And it does not preserve the old autobuilt files so "debuild clean"
> won't properly clean (i.e. git will complain if building in git).
> 
> Have a look at sugar-toolkit-0.88 for a packaging example handling
> autoreconf using CDBS, or kannel-sqlbox for a packaging example also
> properly cleaning up after itself.

I object to the approach in sugar-toolkit-0.88. It is overly
complicated. I think making use of dpkg-source is better: just remove
the files on clean, and dpkg-source will ignore them. The kannel-sqlbox
approach is better: moving files out of the way pre-build and restore
them on clean (which is what we do in csound too).


-- 
Saludos,
Felipe Sateler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100715/780d1ff6/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list