From: Khassapov, Alex (Alex.Khassapov_at_[hidden])
Date: 2008-01-23 22:35:44
As I explained in my previous post, we have already a shell script which produces a package. The problem I have might be very simple, but I'm new to bjam. When I do "bjam package", I call "install" first to create a directory tree for the package. All I need to do then - call the shell script to produce the package. My question is - how do I call the shell command for the "package" target?
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Jurko Gospodnetic
Sent: Wednesday, 23 January 2008 11:41 PM
Subject: Re: [Boost-build] packaging & install & stage?
> I sent a post 15/01 asking about packaging support in bjam ("bjam
> support for creating packages on Solaris") and haven't got any reply
> yet... Can anybody please explain how to produce packages?
Sorry, can not offer any assistance here...
> Also what's the difference between "bjam install" and "bjam stage"?
> Which one should I use? Can you point me to any reading regarding this?
From what I saw in the code they are one and the same. This system is
implemented in the stage.jam file where the same 'stage.install' rule is
imported into the global namespace under two names 'stage' and 'install'.
As for reasons why this is so - I do not know. Most likely some
historical and possibly unfinished name change.
I also believe that Boost library's main jam file defines its own
stage and install targets which have nothing to do these
'stage'/'install' rules other than being used as tools in some specific
ways. For more details on what the difference between those targets is
look at the help screen gotten using 'bjam --help' from the boost
Hope this helps.
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk