Made "install" target also install command-line targets.

This commit is contained in:
Sergey Popov 2008-04-14 07:14:36 +00:00
parent 96ed556954
commit 97b1fca309

View file

@ -1226,7 +1226,7 @@ install_env.Alias('install', [])
for installable in ('wesnoth', 'wesnoth_editor',
'wesnothd', 'campaignd',
'exploder', 'cutter'):
if os.path.exists(installable):
if os.path.exists(installable) or installable in COMMAND_LINE_TARGETS or "all" in COMMAND_LINE_TARGETS:
install_env.Alias('install', install_env.Alias('install-'+installable))
#