mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
In template resources (found under static/templates), strings of the form "PATH/TO/STATIC/RESOURCE?KIWIXCACHEID" are expanded into "PATH/TO/STATIC/RESOURCE?cacheid=CACHEIDVAL" where CACHEIDVAL is a 8-digit hexadecimal hash digest of the file at static/PATH/TO/STATIC/RESOURCE.
14 lines
372 B
Meson
14 lines
372 B
Meson
|
|
res_manager = find_program('kiwix-resources')
|
|
res_compiler = find_program('kiwix-compile-resources')
|
|
|
|
install_data(res_compiler.path(), install_dir:get_option('bindir'))
|
|
|
|
install_man('kiwix-compile-resources.1')
|
|
|
|
i18n_compiler = find_program('kiwix-compile-i18n')
|
|
|
|
install_data(i18n_compiler.path(), install_dir:get_option('bindir'))
|
|
|
|
install_man('kiwix-compile-i18n.1')
|