1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/bash set -e cd $(dirname $0) git submodule update --init pushd unrpyc make install popd trim() { for f in "$@"; do convert -trim "$f" "$f" done optipng -o7 "$@" } trim www/dump/ui/bt-cf-unchecked.png www/dump/ui/bt-cf-checked.png make ${MAKEOPTS}