[Scons-users] How to make Install depend on a command line target?

Brian Raven BRaven at nyx.com
Fri Jun 15 07:30:52 EDT 2012


I thought that the suggestion in the wiki (http://scons.org/wiki/InstallTargets) might do the trick. For example:

Alias('broadcast', localEnv.Install(install_dir, programs))

However, the programs are always installed. Am I missing something, or is there a way to make the install depend on a command line target, other than explicitly testing COMMAND_LINE_TARGETS?

[N.B. Using a pretty old version, v0.98.1.r2881. Not much choice in the matter.]

--
Brian Raven


Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


More information about the Scons-users mailing list