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

Felipe Sateler fsateler at gmail.com
Fri Oct 2 20:21:00 UTC 2009


On Fri, 2009-10-02 at 13:51 +0200, Jonas Smedegaard wrote:
> 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).

Hmm. A different name is an option. The important thing is to have a
convenient way to perform the install stage, but not create the binary
debs. cdbs-install

> 
> 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.

Well, that is another problem. Although the truth is that debhelper.mk
is as core as it gets. cdbs is not very useful without it, as it is the
only file that can actually generate the debs.


-- 
Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091002/27025d66/attachment.pgp>


More information about the Build-common-hackers mailing list