[Build-common-hackers] Bug#529396: Bug#529396: cdbs: sets DEB_DESTDIR wrong in case of multiple binary packages
Jonas Smedegaard
dr at jones.dk
Wed May 20 07:10:47 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On Tue, May 19, 2009 at 10:25:42PM +0200, Ralf Treinen wrote:
>Hi Jonas,
>
>On Tue, May 19, 2009 at 10:05:54AM +0200, Jonas Smedegaard wrote:
>
>> Perhaps if you provide an example of what you consider wrong behaviour,
>> it is easier to discuss.
>
>My use case was the following:
>
>I had a source package (let's call it p) that generates one binary
>package, also called p. I have a debian/p.dirs that contains some
>diretories that are needed for installation. My debian/rules file
>contains
>
>DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)/usr
>
>and everything goes well since both debhelper and cdbs agree that the
>package staging dir is debian/p.
>
>Now I change my package by adding a second binary package, lets call it
>p1, to be generated from the same source package p. Debhelper continues
>to act by default on the first package, that is dh_installdir installs
>the directories in debian/p. Cdbs, however, now thinks that DEB_DESTDIR
>has to debian/tmp. When I use the debhelper.mk rules file then I would
>expect that variables are set according to debhelper rules here.
Thanks for the details.
What CDBS snippets did you use?
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREDAAYFAkoTrPcACgkQn7DbMsAkQLhghwCfdOEzwMOSFVJzIM1xDS3owLaE
uWQAoIJPB8ZVuglLyIgCI2Na5edi4Rfn
=v5PY
-----END PGP SIGNATURE-----
More information about the Build-common-hackers
mailing list