[Build-common-hackers] Bug#451226: Bug#451226: rules/debhelper.mk ignores changelog and docs in '.' if $(DEB_SRCDIR) is specified
Peter Eisentraut
peter_e at gmx.net
Tue Apr 1 07:16:41 UTC 2008
Fabian Greffrath wrote:
> I have encountered a minor issue when including rules/debhelper.mk and
> having the DEB_SRCDIR variable specified:
> If this variable is specified and if it is not ".", cdbs will ignore
> changelogs and docs in "." and only look for them in the DEB_SRCDIR
> directory.
I think this is a highly special case, and you are encouraged to work around
it yourself. Normally, there should be one DEB_SRCDIR, and everything
happens relative to it. If the files are distributed differently, it is best
if you write variable assignments to tell exactly where they are. If we make
cdbs look around for things outside of its assigned directories, things could
go quite crazy. The case of changelogs perhaps isn't so critical, but there
are analogous cases one could think of where one wouldn't want this, and then
things get very inconsistent.
So for the moment I suggest you write your own override. Once we get into a
situation where many packages need similar overrides, then we can integrate a
general solution into cdbs. Note that the "c" stands for "common". :)
More information about the Build-common-hackers
mailing list