Yingdi Yu | 1cc45d9 | 2015-02-09 14:19:54 -0800 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | set -x | ||||
3 | set -e | ||||
4 | |||||
5 | sudo rm -Rf /usr/local/include/ChronoSync | ||||
6 | sudo rm -f /usr/local/lib/libChronoSync* | ||||
7 | sudo rm -f /usr/local/lib/pkgconfig/ChronoSync* | ||||
8 | |||||
9 | |||||
10 | # Update ChronoSync | ||||
11 | git submodule init | ||||
12 | git submodule update | ||||
13 | pushd ChronoSync >/dev/null | ||||
14 | sudo ./waf -j1 --color=yes distclean | ||||
15 | ./waf -j1 --color=yes configure | ||||
16 | ./waf -j1 --color=yes build | ||||
17 | sudo ./waf install -j1 --color=yes | ||||
18 | sudo ldconfig || true | ||||
19 | popd >/dev/null |