[Build-common-hackers] Bug#461369: Bug#461369: cdbs: Please provide a common install:: hook

Jonas Smedegaard dr at jones.dk
Fri Jan 18 02:43:27 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Jan 18, 2008 at 03:35:26AM +0100, Cyril Brulebois wrote:
>On 18/01/2008, Jonas Smedegaard wrote:
>> > It would be much more clean if one wasn't forced to specify a given 
>> > (arbitrary) binary package there.
>> 
>>    $(patsubst %,install/%,$(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))
>>            dh_install --sourcedir=debian/tmp --autodest --list-missing
>
>Nope, that triggers dh_install for each package, while the goal is
>here to have a single call, so that *-missing is checked once (and
>only once).

Yes, you are right, I was wrong (I realized just seconds after sending 
off the email).


How about this, as used by multiple cdbs snippets?:


   common-install-arch common-install-indep:: common-install-impl
   common-install-impl::
           dh_install --sourcedir=debian/tmp --autodest --list-missing



It would probably needs stamping to avoid getting run multiple times...


  - Jonas


- -- 
Jonas Smedegaard   <jonas at jones.dk>   http://www.jones.dk/~jonas/
IT-guide dr. Jones    <dr at jones.dk>   http://dr.jones.dk/    +45 40843136
Debian GNU/Linux    <js at debian.org>   http://www.debian.org/
GnuPG(1024D/C02440B8): 9A98 C6EB C098 9ED0 3085  ECA9 9FB0 DB32 C024 40B8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHkBJOn7DbMsAkQLgRAv45AKCmtEvjEYbCB/dvLU7hwibN4ujSJgCbB5d8
xI2la8C/zLx5/FkqAWZMCBQ=
=HL34
-----END PGP SIGNATURE-----





More information about the Build-common-hackers mailing list