Build annotator to bin directory
This commit is contained in:
parent
9871b1280b
commit
6dff1caf5d
2 changed files with 8 additions and 8 deletions
|
|
@ -4,12 +4,12 @@
|
|||
set -e
|
||||
base=$(readlink -f $(dirname "$0")/..)
|
||||
make -C "${base}" build >/dev/null
|
||||
version=$(${base}/build/annotator --short-version)
|
||||
version=$(${base}/build/bin/annotator --short-version)
|
||||
release=annotator-${version}
|
||||
out=${base}/dist/${release}
|
||||
pkg=${out}.tar.gz
|
||||
make -C "${base}" install DESTDIR=${out} >/dev/null
|
||||
pushd ${base}/dist >/dev/null
|
||||
tar cfz ${pkg}.tar.gz ${release}
|
||||
tar cfz ${pkg} ${release}
|
||||
popd >/dev/null
|
||||
echo created release for version ${version}: ${pkg}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue