Initial version
This commit is contained in:
commit
04b878f078
28 changed files with 1771 additions and 0 deletions
15
script/makedist
Executable file
15
script/makedist
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# -*- mode: sh -*-
|
||||
|
||||
set -e
|
||||
base=$(readlink -f $(dirname "$0")/..)
|
||||
make -C "${base}" build >/dev/null
|
||||
version=$(${base}/build/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}
|
||||
popd >/dev/null
|
||||
echo created release for version ${version}: ${pkg}
|
||||
Loading…
Add table
Add a link
Reference in a new issue