Made "install" target take build suffix into account...

...when looking for binaries to install.
This commit is contained in:
Sergey Popov 2008-06-15 10:54:32 +00:00
parent 9550aae79c
commit fc1c32fbc9

View file

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