[Build-common-hackers] Bug#499726: Bug#499726: please provide an install target

Jonas Smedegaard dr at jones.dk
Fri Oct 2 11:51:12 UTC 2009

On Thu, Oct 01, 2009 at 01:56:07PM -0400, Felipe Sateler wrote:
>I'm not sure if this should be a new bug, but this one is close enough.
>cdbs (debhelper.mk) provides install/binarypackage targets for each 
>binary package. However, it does not provide the install target which 
>sometimes is very useful. Adding it should be a matter of adding:
>install:: $(patsubst %,install/%,$(DEB_ALL_PACKAGES))
>Somewhere in debhelper.mk

Providing a new make target has a risk of clashing with existing target 
of same name but of different type - i.e. above will break packages 
currently crestihng an install: target (using single colon).

Also, I dislike the debhelper.mk rule to implement generic convenience 
targets not used by itself.  If generally useful they might make sense 
to implement in some core place - but only if not risking clash with 
local rules files as I fear is the case here.

Leaving the bug open for now to encourage more discussion.


  - Jonas

* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091002/01f8ea6d/attachment.pgp>

More information about the Build-common-hackers mailing list