Bug#380614: [Build-common-hackers] Bug#380614: cdbs: creates empty packages on -dbg package creation

Peter Eisentraut peter_e at gmx.net
Tue Aug 8 11:43:39 UTC 2006


Am Dienstag, 8. August 2006 12:49 schrieb Marc Haber:
> On Wed, Aug 02, 2006 at 11:17:16PM +0200, Peter Eisentraut wrote:
> > Marc Haber wrote:
> > > Just for clarity: "overriding DEB_DESTDIR" would be to say
> > > "DEB_DESTDIR:=debian/tmp" in debian/rules?
> >
> > Yes.
>
> First, I tried DEB_DESTDIR:=debian/tmp.

Sorry, I didn't think all the way.  You need to set

DEB_DESTDIR = $(CURDIR)/debian/ksynaptics

$(CURDIR)/debian/tmp would be setting if you don't write this.  (Your missing 
binaries are still in the debian/tmp directory.)

> $(pwd)/debian/tmp expands to /debian/tmp

$(pwd) does not have a special meaning in make.

> > You can probably just write * in there.
>
> That one results in
>
> |dh_install -pksynaptics
> |cp: cannot copy a directory, `./debian', into itself,
> | `debian/ksynaptics/debian/tmp/debian'

Probably debian/tmp/* then, or you need to give a --sourcedir option to 
dh_install.




More information about the Build-common-hackers mailing list