scons: ensure fonts are only installed if requested
This commit is contained in:
parent
170c36b14b
commit
015069f74b
1 changed files with 2 additions and 2 deletions
|
@ -32,5 +32,5 @@ includes.extend(glob.glob('unifont*.ttf'))
|
|||
|
||||
fontscollectionpath = install_prefix + '/' + env['LIBDIR_SCHEMA'] + env['LIB_DIR_NAME'] + '/fonts'
|
||||
|
||||
if not env['SYSTEM_FONTS']:
|
||||
env.Alias(target='install', source=env.Install(fontscollectionpath, includes))
|
||||
if 'uninstall' not in COMMAND_LINE_TARGETS and not env['SYSTEM_FONTS']:
|
||||
env.Alias(target='install', source=env.Install(fontscollectionpath, includes))
|
||||
|
|
Loading…
Reference in a new issue