[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Export the source version from dpkg-buildpackage



On Sun, Dec 27, 2009 at 11:02:18AM +0100, Raphael Hertzog wrote:
> On Sun, 27 Dec 2009, Iustin Pop wrote:
> > Some build scripts might need the version in order to embed it in the
> > build result. Most usually they run dpkg-parsechangelog and massage it
> > from there.
> 
> We're planning on going away from setting environment variables to export
> random information as people prefer to not break debian/rules as a direct
> interface.
> 
> So it's unlikely that we're going to apply this patch. Instead we should
> design some makefile snippet that people can include and that would set
> all those variables by calling the right scripts.

Cool, that makes more sense, and scratches my itch too :)

> 
> And we need a dpkg-buildflags tool first to deal with CFLAGS and al.

Understood.

thanks,
iustin


Reply to: