#!/bin/sh # Build the `ltk/` tree a page serves next to it and loads with # `ltk::web::load_resources`: the same tree an Android package carries, so # android-assets.sh builds it, with the same arguments and variables. # # Usage: scripts/web-assets.sh OUT_DIR [THEMES_DIR [THEME_ID...]] # EXTRA_FONTS adds the fallback fonts a page needs beyond Latin, such as # NotoSans-Regular.ttf or DejaVuSans.ttf, found by file name in `ltk/fonts/`. exec "$( dirname "$0" )/android-assets.sh" "$@"