Re: [PATCH] Export the source version from dpkg-buildpackage
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
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.
And we need a dpkg-buildflags tool first to deal with CFLAGS and al.