summaryrefslogtreecommitdiff
path: root/setup.sh
blob: bc4ea87ef3db91b29f7093654104e3d23adaf854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

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}