Remove unused static resources.

Stop words are not use anymore since a long time now that indexing has
been moved to libzim. No need to embedded them in kiwix-lib.
This commit is contained in:
Matthieu Gautier
2018-05-15 11:09:56 +02:00
parent 48933a3b3e
commit 622d2fc23d
8 changed files with 15 additions and 906 deletions

View File

@ -7,21 +7,18 @@ if ctpp2c.found()
input: 'results.tmpl',
output: 'results.ct2',
command: [intermediate_ctpp2c, ctpp2c, '@INPUT@', '@OUTPUT@']
)
resources_list = 'resources_list_ctpp2.txt'
resources_depends = [search_result_template]
)
resources_list = 'resources_list_ctpp2.txt'
lib_resources = custom_target('resources',
input: 'resources_list.txt',
output: ['kiwixlib-resources.cpp', 'kiwixlib-resources.h'],
command:[res_compiler,
'--cxxfile', '@OUTPUT0@',
'--hfile', '@OUTPUT1@',
'--source_dir', '@OUTDIR@',
'@INPUT@'],
depends: [search_result_template]
)
else
resources_list = 'resources_list_noctpp2.txt'
resources_depends = []
lib_resources = []
endif
lib_resources = custom_target('resources',
input: resources_list,
output: ['kiwixlib-resources.cpp', 'kiwixlib-resources.h'],
command:[res_compiler,
'--cxxfile', '@OUTPUT0@',
'--hfile', '@OUTPUT1@',
'--source_dir', '@OUTDIR@',
'@INPUT@'],
depends: resources_depends
)