scons: ensure fonts are only installed if requested

This commit is contained in:
Dane Springmeyer 2010-07-29 14:37:16 +00:00
parent 170c36b14b
commit 015069f74b

View file

@ -32,5 +32,5 @@ includes.extend(glob.glob('unifont*.ttf'))
fontscollectionpath = install_prefix + '/' + env['LIBDIR_SCHEMA'] + env['LIB_DIR_NAME'] + '/fonts' fontscollectionpath = install_prefix + '/' + env['LIBDIR_SCHEMA'] + env['LIB_DIR_NAME'] + '/fonts'
if not env['SYSTEM_FONTS']: if 'uninstall' not in COMMAND_LINE_TARGETS and not env['SYSTEM_FONTS']:
env.Alias(target='install', source=env.Install(fontscollectionpath, includes)) env.Alias(target='install', source=env.Install(fontscollectionpath, includes))