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 |
Varun Patil | 3d85090 | 2020-11-23 12:19:14 +0530 | [diff] [blame^] | 14 | sudo ./waf --color=yes distclean |
| 15 | ./waf --color=yes configure |
| 16 | ./waf --color=yes build |
| 17 | sudo ./waf install --color=yes |
Yingdi Yu | 1cc45d9 | 2015-02-09 14:19:54 -0800 | [diff] [blame] | 18 | sudo ldconfig || true |
| 19 | popd >/dev/null |