Bug#380614: [Build-common-hackers] Bug#380614: cdbs: creates empty
packages on -dbg package creation
Marc Haber
mh+debian-bugs at zugschlus.de
Tue Aug 8 12:26:30 UTC 2006
On Tue, Aug 08, 2006 at 01:43:39PM +0200, Peter Eisentraut wrote:
> 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
Ah! Now everything makes sense.
> > $(pwd)/debian/tmp expands to /debian/tmp
>
> $(pwd) does not have a special meaning in make.
I keep confusing pwd and CURDIR, hating make with a passion.
> > > 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.
Probably. I'll try this next time.
I'd like to suggest keeping this bug open until this bug report's
findings have been incorporated into cdbs docs.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Build-common-hackers
mailing list